summaryrefslogtreecommitdiff
path: root/rMD-exp/src/recordmydesktop.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-26 03:08:30 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-26 03:08:30 +0000
commit942f01938f9799801c925bfe296c880fef2be846 (patch)
tree56c05b57437cf7843d0f3af60ed343d4dbe2e573 /rMD-exp/src/recordmydesktop.c
parenta304339236a566a7a1976597e33aea2009b14796 (diff)
audio caching
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@117 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'rMD-exp/src/recordmydesktop.c')
-rw-r--r--rMD-exp/src/recordmydesktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rMD-exp/src/recordmydesktop.c b/rMD-exp/src/recordmydesktop.c
index df7fbb3..c02ecdf 100644
--- a/rMD-exp/src/recordmydesktop.c
+++ b/rMD-exp/src/recordmydesktop.c
@@ -58,6 +58,7 @@ int main(int argc,char **argv){
image_cache_t,
sound_capture_t,
sound_encode_t,
+ sound_cache_t,
flush_to_ogg_t;
XShmSegmentInfo shminfo;
int i;
@@ -189,6 +190,7 @@ int main(int argc,char **argv){
if(!pdata.args.nosound){
pthread_create(&sound_capture_t,NULL,CaptureSound,(void *)&pdata);
+ pthread_create(&sound_cache_t,NULL,CacheSoundBuffer,(void *)&pdata);
// pthread_create(&sound_encode_t,NULL,EncodeSoundBuffer,(void *)&pdata);
}
// pthread_create(&flush_to_ogg_t,NULL,FlushToOgg,(void *)&pdata);
© All Rights Reserved