From 730b8887b22826912ea8c633545e072fb41e42bc Mon Sep 17 00:00:00 2001 From: biocrasher Date: Sat, 29 Jul 2006 16:20:57 +0000 Subject: final channels/freq message git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@34 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/opendev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'recordmydesktop/src') diff --git a/recordmydesktop/src/opendev.c b/recordmydesktop/src/opendev.c index c0be942..a6e91bc 100644 --- a/recordmydesktop/src/opendev.c +++ b/recordmydesktop/src/opendev.c @@ -94,6 +94,7 @@ snd_pcm_t *OpenDev(const char *pcm_dev,unsigned int *channels,unsigned int *freq snd_pcm_hw_params_get_period_size(hwparams,periodsize,0); if(periodtime!=NULL) snd_pcm_hw_params_get_period_time(hwparams,periodtime,0); + fprintf(stderr,"Recording on device %s is set to:\n%d channels at %dHz\n",pcm_dev,*channels,*frequency); snd_pcm_prepare(mhandle); return mhandle; -- cgit v1.2.3