diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-12-13 10:48:07 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-12-13 10:48:07 +0000 |
commit | 032222eaf85ff3514bdd0f531bcc82bfee41b124 (patch) | |
tree | 453ed03e309470ac5bfc54665e49a85fe09c0ae5 /recordmydesktop/src/recordmydesktop.c | |
parent | 610b67611baf101c38c915802ceb3c985ea03007 (diff) |
added -buffer-size option,
along with relevant documentation, arg parsing, etc.
Removed obolete and unused encoding variable.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@237 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/recordmydesktop.c')
-rw-r--r-- | recordmydesktop/src/recordmydesktop.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c index 0a9aa79..b2923a5 100644 --- a/recordmydesktop/src/recordmydesktop.c +++ b/recordmydesktop/src/recordmydesktop.c @@ -160,7 +160,13 @@ int main(int argc,char **argv){ XShmGetImage(pdata.dpy,pdata.specs.root,pdata.shimage,pdata.brwin.rgeom.x,pdata.brwin.rgeom.y,AllPlanes); } if(!pdata.args.nosound){ - pdata.sound_handle=OpenDev(pdata.args.device,&pdata.args.channels,&pdata.args.frequency,&pdata.periodsize, &pdata.periodtime,&pdata.hard_pause); + pdata.sound_handle=OpenDev( pdata.args.device, + &pdata.args.channels, + &pdata.args.frequency, + &pdata.args.buffsize, + &pdata.periodsize, + &pdata.periodtime, + &pdata.hard_pause); if(pdata.sound_handle==NULL){ fprintf(stderr,"Error while opening/configuring soundcard %s\nTry running with the --no-sound or specify a correct device.\n",pdata.args.device); exit(3); |