Previous 199869 Revisions Next

r17560 Wednesday 29th August, 2012 at 17:28:47 UTC by Tafoid
Fixed for an SDL sound bug surrounding use of -speed and pausing frequently causing corrupt sound.  [Antonio Giner]
[src/osd/sdl]sound.c

trunk/src/osd/sdl/sound.c
r17559r17560
307307               fprintf(sound_log, "Underflow: PP=%d  WP=%d(%d)  SI=%d(%d)  BTF=%d\n", (int)play_position, (int)write_position, (int)orig_write, (int)stream_in, (int)stream_buffer_in, (int)bytes_this_frame);
308308
309309            buffer_underflows++;
310            stream_in += samples_this_frame;
310            stream_in += bytes_this_frame;
311311         }
312312
313313         // if we're going to overlap the play position, just skip this chunk

Previous 199869 Revisions Next


© 1997-2024 The MAME Team