diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-10-22 10:21:48 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-10-22 10:21:48 +0000 |
commit | b085cea3f8a4cf1e9e273cafc058ac19b71faaf9 (patch) | |
tree | ddb78599ea1313208b3eba0f01b026e6410e9508 /rMD-exp/src/opendev.c | |
parent | b97e62f7b25ef160f371d0707c6ca94a1d8b14aa (diff) |
removed obsolete screenshot functionality, added first test of cache_frame
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@104 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'rMD-exp/src/opendev.c')
-rw-r--r-- | rMD-exp/src/opendev.c | 2 |
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; } |