mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-24 18:28:44 +00:00
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:
parent
3ff6a8bd68
commit
ab89decac5
2 changed files with 39 additions and 20 deletions
|
@ -59,6 +59,7 @@ private:
|
|||
volatile int thread_data;
|
||||
|
||||
snd_pcm_t *handle;
|
||||
int frames_to_deliver;
|
||||
#else
|
||||
public:
|
||||
AlsaSound(CMixer *mixer) : SoundStream(mixer) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue