Linux: Better ALSA support

This removes some bad behaviour, like the audio thread busy waiting inside ALSA code,
missing begins of voice samples(due to DSP_HLE code not getting called often enough).
Turns out my understanding of ALSA API was lacking.

Tested with pulse plugin and directly on my intel-hda/realtek hardware.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5461 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
pierre
2010-05-21 22:48:57 +00:00
parent 3ff6a8bd68
commit ab89decac5
2 changed files with 39 additions and 20 deletions

View File

@ -59,6 +59,7 @@ private:
volatile int thread_data;
snd_pcm_t *handle;
int frames_to_deliver;
#else
public:
AlsaSound(CMixer *mixer) : SoundStream(mixer) {}