comparison decoders/mp3.c @ 28:d9e84e857569

Changed some debug output. Still broken.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 19 Sep 2001 14:34:10 +0000
parents 41e5e07c5fed
children 6e13fcc178da
comparison
equal deleted inserted replaced
27:ba49bdd9ea33 28:d9e84e857569
119 SMPEG_delete(smpeg); 119 SMPEG_delete(smpeg);
120 return(0); 120 return(0);
121 } /* if */ 121 } /* if */
122 122
123 _D(("MP3: Accepting data stream.\n")); 123 _D(("MP3: Accepting data stream.\n"));
124 _D(("MP3: has_audio == %s.\n", smpeg_info.has_audio ? "TRUE" : "FALSE")); 124 _D(("MP3: has_audio == {%s}.\n", smpeg_info.has_audio ? "TRUE" : "FALSE"));
125 _D(("MP3: has_video == %s.\n", smpeg_info.has_video ? "TRUE" : "FALSE")); 125 _D(("MP3: has_video == {%s}.\n", smpeg_info.has_video ? "TRUE" : "FALSE"));
126 _D(("MP3: width == %d.\n", smpeg_info.width)); 126 _D(("MP3: width == (%d).\n", smpeg_info.width));
127 _D(("MP3: height == %d.\n", smpeg_info.height)); 127 _D(("MP3: height == (%d).\n", smpeg_info.height));
128 _D(("MP3: current_frame == %d.\n", smpeg_info.current_frame)); 128 _D(("MP3: current_frame == (%d).\n", smpeg_info.current_frame));
129 _D(("MP3: current_fps == %f.\n", smpeg_info.current_fps)); 129 _D(("MP3: current_fps == (%f).\n", smpeg_info.current_fps));
130 _D(("MP3: audio_string == [%s].\n", smpeg_info.audio_string)); 130 _D(("MP3: audio_string == [%s].\n", smpeg_info.audio_string));
131 _D(("MP3: audio_current_frame == %d.\n", smpeg_info.audio_current_frame)); 131 _D(("MP3: audio_current_frame == (%d).\n", smpeg_info.audio_current_frame));
132 _D(("MP3: current_offset == %d.\n", smpeg_info.current_offset)); 132 _D(("MP3: current_offset == (%d).\n", smpeg_info.current_offset));
133 _D(("MP3: total_size == %d.\n", smpeg_info.total_size)); 133 _D(("MP3: total_size == (%d).\n", smpeg_info.total_size));
134 _D(("MP3: current_time == %f.\n", smpeg_info.current_time)); 134 _D(("MP3: current_time == (%f).\n", smpeg_info.current_time));
135 _D(("MP3: total_time == %f.\n", smpeg_info.total_time)); 135 _D(("MP3: total_time == (%f).\n", smpeg_info.total_time));
136 136
137 SMPEG_enablevideo(smpeg, 0); 137 SMPEG_enablevideo(smpeg, 0);
138 SMPEG_enableaudio(smpeg, 1); 138 SMPEG_enableaudio(smpeg, 1);
139 SMPEG_loop(smpeg, 0); 139 SMPEG_loop(smpeg, 0);
140 140