flycast/core/oslib
verybadsoldier 7d49b2212d alsa-backend: initialize variable "sub unit dir". This variable is passed into alsa as a pointer. Alsa will write to it but also read (!) from it. So the read will give undesired behavior when variable is not initialized. Depending on current alsa-config/hardware it leads to an error "Invalid argument" when submitting the parameters by invoking "snd_pcm_hw_params" a few lines later.
Initializing the variable to -1 fixes it and means "set to exact value or less" (http://alsa.opensrc.org/HowTo_Asynchronous_Playback)
2016-10-18 22:31:31 +02:00
..
audiobackend_alsa.cpp alsa-backend: initialize variable "sub unit dir". This variable is passed into alsa as a pointer. Alsa will write to it but also read (!) from it. So the read will give undesired behavior when variable is not initialized. Depending on current alsa-config/hardware it leads to an error "Invalid argument" when submitting the parameters by invoking "snd_pcm_hw_params" a few lines later. 2016-10-18 22:31:31 +02:00
audiobackend_alsa.h Added newline to end of files and removed obsolete code 2015-06-27 20:44:53 +02:00
audiobackend_android.h Added Android audio backend 2015-06-27 20:44:53 +02:00
audiobackend_coreaudio.cpp apple: Add primitive core audio support 2015-09-29 03:10:19 +02:00
audiobackend_coreaudio.h apple: Add primitive core audio support 2015-09-29 03:10:19 +02:00
audiobackend_directsound.cpp Get x64 building 2015-07-13 21:13:51 +02:00
audiobackend_directsound.h Added newline to end of files and removed obsolete code 2015-06-27 20:44:53 +02:00
audiobackend_oss.cpp Added newline to end of files and removed obsolete code 2015-06-27 20:44:53 +02:00
audiobackend_oss.h Added newline to end of files and removed obsolete code 2015-06-27 20:44:53 +02:00
audiobackend_pulseaudio.cpp Added PulseAudio backend 2015-06-27 20:44:54 +02:00
audiobackend_pulseaudio.h Added PulseAudio backend 2015-06-27 20:44:54 +02:00
audiostream.cpp apple: Add primitive core audio support 2015-09-29 03:10:19 +02:00
audiostream.h Added newline to end of files and removed obsolete code 2015-06-27 20:44:53 +02:00
logtest cfg: Add virtual entry support 2015-08-24 13:52:01 +02:00
oslib.h Added DirectSound audio backend 2015-06-27 20:44:53 +02:00