Ryujinx-SDL/src/audio
Sam Lantinga 15bae953b1 Fixed bug 4642 - Rework SDL_netbsdaudio to improve performance
Nia Alarie

The NetBSD audio driver has a few problems. Lots of obsolete code, and extremely bad performance and stuttering.

I have a patch in NetBSD's package system to improve it. This is my attempt to upstream it.

The changes include:

* Removing references to defines which are never used.
* Using the correct structures for playback and recording, previously they were the wrong way around.
* Using the correct types ('struct audio_prinfo' in contrast to 'audio_prinfo')
* Removing the use of non-blocking I/O, as suggested in #3177.
* Removing workarounds for driver bugs on systems that don't exist or use this driver any more.
* Removing all usage of SDL_Delay(1)
* Removing pointless use of AUDIO_INITINFO and tests that expect AUDIO_SETINFO to fail when it can't.

These changes bring its performance in line with the DSP audio driver.
2019-06-08 13:03:36 -07:00
..
alsa Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value check 2019-03-16 18:48:21 -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 4171 - SDL_GetQueuedAudioSize is broken with WASAPI 2019-06-04 17:32:15 -07:00
winmm Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_audio_c.h 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_audiocvt.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_audiodev.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_audiotypecvt.c Updated copyright for 2019 2019-01-04 22:01:14 -08: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 Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_wave.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00