SDL/src/audio
Sam Lantinga 680e7937e0 Fixed bug 4710 - audio/alsa: avoid configuring hardware parameters with only a single period
Anthony Pesch

The previous code first configured the period size using snd_pcm_hw_par-
ams_set_period_size_near. Then, it further narrowed the configuration
space by calling snd_pcm_hw_params_set_buffer_size_near using a buffer
size of 2 times the _requested_ period size in order to try and get a
configuration with only 2 periods. If the configured period size was
larger than the requested size, the second call could inadvertently
narrow the configuration space to contain only a single period.

Rather than fixing the call to snd_pcm_hw_params_set_buffer_size_near
to use a size of 2 times the configured period size, the code has been
changed to use snd_pcm_hw_params_set_periods_min in order to more
clearly explain the intent.
2019-07-07 09:10:56 -07:00
..
alsa Fixed bug 4710 - audio/alsa: avoid configuring hardware parameters with only a single period 2019-07-07 09:10:56 -07:00
android Updated copyright for 2019 2019-01-04 22:01:14 -08:00
arts Updated copyright for 2019 2019-01-04 22:01:14 -08:00
coreaudio [SDL] iOS fix bug with audio interrupted by a phone call not restoring. 2019-05-14 14:20:54 -07:00
directsound Updated copyright for 2019 2019-01-04 22:01:14 -08:00
disk Updated copyright for 2019 2019-01-04 22:01:14 -08:00
dsp Updated copyright for 2019 2019-01-04 22:01:14 -08:00
dummy Updated copyright for 2019 2019-01-04 22:01:14 -08:00
emscripten Emscripten: No need for Runtime. for dynCalls 2019-01-29 12:21:22 +00:00
esd Updated copyright for 2019 2019-01-04 22:01:14 -08:00
fusionsound Updated copyright for 2019 2019-01-04 22:01:14 -08:00
haiku Updated copyright for 2019 2019-01-04 22:01:14 -08:00
jack Updated copyright for 2019 2019-01-04 22:01:14 -08:00
nacl Updated copyright for 2019 2019-01-04 22:01:14 -08:00
nas Updated copyright for 2019 2019-01-04 22:01:14 -08:00
netbsd Fixed bug 4642 - Rework SDL_netbsdaudio to improve performance 2019-06-08 13:03:36 -07:00
openslES OpenSL ES audio cleanup and added a note with low latency audio discussion 2019-06-08 10:21:38 -07:00
paudio Updated copyright for 2019 2019-01-04 22:01:14 -08:00
psp Updated copyright for 2019 2019-01-04 22:01:14 -08:00
pulseaudio Updated copyright for 2019 2019-01-04 22:01:14 -08:00
qsa Updated copyright for 2019 2019-01-04 22:01:14 -08:00
sndio Updated copyright for 2019 2019-01-04 22:01:14 -08:00
sun Updated copyright for 2019 2019-01-04 22:01:14 -08:00
wasapi Fixed bug 4605 - WASAPI_WaitDevice hang 2019-06-08 13:41:46 -07:00
winmm Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_audio.c Fixed bug 4171 - SDL_GetQueuedAudioSize is broken with WASAPI 2019-06-04 17:32:15 -07:00
SDL_audio_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_audiocvt.c Fixed build 2019-06-08 19:09:43 -07:00
SDL_audiodev.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_audiodev_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_audiotypecvt.c Fixed compiler warning 2019-06-18 14:24:24 -07:00
SDL_mixer.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_sysaudio.h Fixed bug 4171 - SDL_GetQueuedAudioSize is broken with WASAPI 2019-06-04 17:32:15 -07:00
SDL_wave.c A few minor changes to placate static analysis. 2019-06-14 18:23:51 -04:00
SDL_wave.h Cleanup on bug 3894 - Fuzzing crashes for SDL_LoadWAV 2019-06-09 12:46:10 -07:00