SDL-mirror/src/audio
Sam Lantinga 2a3c7f2d72 Fixed bug 2205 - SDL_GetAudioDeviceName returns default-device name on invalid index for default-device only drivers
norfanin

The audio_enumerateAndNameAudioDevicesNegativeTests test in testautomation_audio.c reports a failure for SDL_GetAudioDeviceName when called on a driver that has only the default device. SDL_GetNumAudioDevices reports 1, but SDL_GetAudioDeviceName does not check if the index passed by the caller is in that range in this case. For positive numbers anyway.

This can be reproduced with the dummy driver on Windows and Linux.
2013-11-03 11:13:06 -08:00
..
alsa Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings 2013-10-20 21:56:15 -07:00
android Removed unneeded Android audio code 2013-08-08 21:16:29 -07:00
arts Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. 2013-10-20 20:42:55 -07:00
baudio File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
bsd Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. 2013-10-20 20:42:55 -07:00
coreaudio Mac: Codify SDK and OS requirements, and clean up. 2013-07-23 17:38:59 -07:00
directsound XAudio2/DirectSound: Use the usual Windows string convert (thanks, Norfanin!). 2013-08-22 13:32:27 -04:00
disk Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
dsp Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
dummy File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
esd Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. 2013-10-20 20:42:55 -07:00
fusionsound Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
nas Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
paudio Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. 2013-10-20 20:42:55 -07:00
psp OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
pulseaudio Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings 2013-10-20 21:56:15 -07:00
qsa Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings 2013-10-20 21:56:15 -07:00
sndio Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
sun Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
winmm Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
xaudio2 Fixed 1598 - Mingwin build fails on src/audio/xaudio2/SDL_xaudio2.c 2013-10-17 23:15:27 -07:00
SDL_audio.c Fixed bug 2205 - SDL_GetAudioDeviceName returns default-device name on invalid index for default-device only drivers 2013-11-03 11:13:06 -08:00
SDL_audio_c.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_audiocvt.c Fixed off-by-one error in SDL_ConvertStereo(). 2013-07-12 01:26:43 -04:00
SDL_audiodev.c Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings 2013-10-20 21:56:15 -07:00
SDL_audiodev_c.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_audiomem.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_audiotypecvt.c Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_mixer.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_sysaudio.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_wave.c Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
SDL_wave.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
sdlgenaudiocvt.pl Happy New Year! 2013-02-15 08:47:44 -08:00