mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
[patch by Mike Sliczniak]
This patch helps to keep the audio from breaking-up on slow machines when using SDL audio. On those slow machines you do still get the break-up every so often but the sound tends not to break-up nearly as often. It is much better on the ears. Notably often the system beeps do not have a pause in them. Slow machine is <= 1 GHz G4.
This commit is contained in:
parent
04bec66567
commit
1b9d155673
@ -81,7 +81,7 @@ static bool open_sdl_audio(void)
|
||||
audio_spec.freq = audio_sample_rates[audio_sample_rate_index] >> 16;
|
||||
audio_spec.format = (audio_sample_sizes[audio_sample_size_index] == 8) ? AUDIO_U8 : AUDIO_S16MSB;
|
||||
audio_spec.channels = audio_channel_counts[audio_channel_count_index];
|
||||
audio_spec.samples = 4096;
|
||||
audio_spec.samples = 16384;
|
||||
audio_spec.callback = stream_func;
|
||||
audio_spec.userdata = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user