mirror of
https://github.com/yawut/SDL.git
synced 2026-07-29 22:48:48 -05:00
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.
|
||
|---|---|---|
| .. | ||
| alsa | ||
| android | ||
| arts | ||
| coreaudio | ||
| directsound | ||
| disk | ||
| dsp | ||
| dummy | ||
| emscripten | ||
| esd | ||
| fusionsound | ||
| haiku | ||
| jack | ||
| nacl | ||
| nas | ||
| netbsd | ||
| openslES | ||
| paudio | ||
| psp | ||
| pulseaudio | ||
| qsa | ||
| sndio | ||
| sun | ||
| wasapi | ||
| winmm | ||
| SDL_audio_c.h | ||
| SDL_audio.c | ||
| SDL_audiocvt.c | ||
| SDL_audiodev_c.h | ||
| SDL_audiodev.c | ||
| SDL_audiotypecvt.c | ||
| SDL_mixer.c | ||
| SDL_sysaudio.h | ||
| SDL_wave.c | ||
| SDL_wave.h | ||