SDL/src/audio
Sam Lantinga 96305832bc Fixed bug 3702 - Clear error messages of SDL_LoadObject for optional libraries
Simon Hug

Some code in SDL loads libraries with SDL_LoadObject to get more information or use newer APIs. SDL_LoadObject may fail, set an error message and SDL will continue with some fallback code. Since SDL will overwrite the error or exit the function with a return value that indicates success, the error form SDL_LoadObject for the optional stuff might as well be cleared right away.
2017-08-11 10:21:19 -07:00
..
alsa Removed unused errno includes. 2017-05-27 23:30:07 +02:00
android Updated copyright for 2017 2017-01-01 18:33:28 -08:00
arts Corrected names of header file guards. 2017-06-03 23:00:15 +02:00
coreaudio coreaudio: we don't need to track number of allocated audio buffers anymore. 2017-05-24 13:28:13 -04:00
directsound Replaced a few single-line "//" comments. 2017-01-07 17:09:14 -05:00
disk diskaudio: Use SDL_Log, not fprintf. 2017-01-05 19:30:45 -05:00
dsp Updated copyright for 2017 2017-01-01 18:33:28 -08:00
dummy Updated copyright for 2017 2017-01-01 18:33:28 -08:00
emscripten emscripten: Fixed compiling on C89 compilers. 2017-05-26 22:45:40 +02:00
esd Updated copyright for 2017 2017-01-01 18:33:28 -08:00
fusionsound Updated copyright for 2017 2017-01-01 18:33:28 -08:00
haiku Corrected names of header file guards. 2017-06-03 23:00:15 +02:00
jack jack: removed accidental copy/paste. 2017-06-09 17:37:43 -04:00
nacl nacl: Fixed crash if allocating memory for audio device failed. 2017-05-28 21:50:47 +02:00
nas Removed newlines from error messages. 2017-03-26 21:00:19 +02:00
netbsd netbsd: Fixed comment. 2017-07-01 23:00:07 +02:00
paudio aix: Removed unused local variable. 2017-07-29 23:00:34 +02:00
psp psp: Force audio channels to stereo if > 2 channels requested (thanks, Solra!). 2017-08-04 16:18:34 -04:00
pulseaudio Removed unused errno includes. 2017-05-27 23:30:07 +02:00
qsa qnx: Fixed error message. 2017-07-29 23:00:45 +02:00
sndio sndio: Fix for some platforms (Linux, for example) that don't define INFTIM. 2017-08-07 00:25:18 -04:00
sun Updated copyright for 2017 2017-01-01 18:33:28 -08:00
wasapi Fixed crash if the WASAPI audio device couldn't be recovered 2017-07-27 22:55:18 -07:00
winmm Fixed mingw64 32-bit build, which does have the correct structure definitions 2017-01-19 20:19:37 -08:00
xaudio2 Log the error returned by XAudio2Create() 2017-02-09 06:01:14 -08:00
SDL_audio.c Fixed bug 3702 - Clear error messages of SDL_LoadObject for optional libraries 2017-08-11 10:21:19 -07:00
SDL_audio_c.h audio: Offer a hint for libsamplerate quality/speed tradeoff. 2017-01-24 15:52:22 -05:00
SDL_audiocvt.c audio: trying to pacify static analysis. 2017-07-05 12:04:37 -04:00
SDL_audiodev.c audio: rename bsd target to netbsd. 2017-05-24 19:56:59 -04:00
SDL_audiodev_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_audiotypecvt.c audio: Fixed copy/paste bug in float32->sint16/SSE2 scalar leftover code. 2017-01-23 12:14:28 -05:00
SDL_mixer.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_sysaudio.h qnx: Removed unused bootstrap declaration. 2017-07-02 22:46:00 +02:00
SDL_wave.c audio: Added basic WAVE_FORMAT_EXTENSIBLE support to .wav loader. 2017-02-17 02:25:37 -05:00
SDL_wave.h audio: Added basic WAVE_FORMAT_EXTENSIBLE support to .wav loader. 2017-02-17 02:25:37 -05:00