summaryrefslogtreecommitdiff
path: root/rMD-exp/src/opendev.c
diff options
context:
space:
mode:
Diffstat (limited to 'rMD-exp/src/opendev.c')
-rw-r--r--rMD-exp/src/opendev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rMD-exp/src/opendev.c b/rMD-exp/src/opendev.c
index 4b559ec..9f8aa17 100644
--- a/rMD-exp/src/opendev.c
+++ b/rMD-exp/src/opendev.c
@@ -40,7 +40,7 @@ snd_pcm_t *OpenDev(const char *pcm_dev,unsigned int *channels,unsigned int *freq
snd_pcm_hw_params_alloca(&hwparams);
snd_pcm_uframes_t buffsize=4096;
- if (snd_pcm_open(&mhandle, pcm_dev, SND_PCM_STREAM_CAPTURE, 0)<0){
+ if (snd_pcm_open(&mhandle, pcm_dev, SND_PCM_STREAM_CAPTURE, 0x0002)<0){
fprintf(stderr, "Couldn't open PCM device %s\n", pcm_dev);
return NULL;
}
© All Rights Reserved