diff options
author | Chris Robinson <[email protected]> | 2008-05-06 16:05:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-05-06 16:05:36 -0700 |
commit | 6e86146a25a629cd5f189a2aaa803d0c34a970e4 (patch) | |
tree | 3c9a3288a6744044a86023dc08b9815e5ff377dd /Alc/alsa.c | |
parent | 49d9695ad95ccbe7f46f3c23c8791e8512f5faa9 (diff) |
Prepare the ALSA PCM handle before starting capture
Thanks to Jason Daly for pointing it out
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -595,6 +595,7 @@ static void alsa_close_capture(ALCdevice *pDevice) static void alsa_start_capture(ALCdevice *pDevice) { alsa_data *data = (alsa_data*)pDevice->ExtraData; + psnd_pcm_prepare(data->pcmHandle); psnd_pcm_start(data->pcmHandle); } |