diff options
author | Chris Robinson <[email protected]> | 2009-07-02 20:50:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-07-02 20:50:12 -0700 |
commit | 5460e85c40b1883b91ca763b88dc014f0d64b705 (patch) | |
tree | 6711aed5661b823c87025d763855f5a1d5487030 /Alc | |
parent | 432f0ba34cf2bbf1d73472cd69cfce2c0fa9c8f8 (diff) |
Set the right access mode for non-mmap capture
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -651,7 +651,7 @@ open_alsa: if((i=psnd_pcm_hw_params_any(data->pcmHandle, p)) < 0) err = "any"; /* set interleaved access */ - if(err == NULL && (i=psnd_pcm_hw_params_set_access(data->pcmHandle, p, SND_PCM_ACCESS_MMAP_INTERLEAVED)) < 0) + if(err == NULL && (i=psnd_pcm_hw_params_set_access(data->pcmHandle, p, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) err = "set access"; /* set format (implicitly sets sample bits) */ if(err == NULL && (i=psnd_pcm_hw_params_set_format(data->pcmHandle, p, data->format)) < 0) |