fix realloc error
This commit is contained in:
parent
bd996da4af
commit
a57531b9f8
@ -1416,10 +1416,11 @@ void S9xSamplesAvailable(void *data)
|
||||
}
|
||||
#endif
|
||||
|
||||
S9xMixSamples(sound_buffer, samples_to_write);
|
||||
#ifndef ALSA
|
||||
S9xMixSamples(sound_buffer, samples_to_write);
|
||||
s_AudioOutput->Write(sound_buffer, samples_to_write * 2);
|
||||
#else
|
||||
S9xMixSamples(sound_buffer, frames*2);
|
||||
frames_written = 0;
|
||||
|
||||
while (frames_written < frames) {
|
||||
|
Loading…
Reference in New Issue
Block a user