diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-18 03:53:23 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-18 03:53:23 +0000 |
commit | 4c71c84391e9a607394b7f7a23877ba15dffbf67 (patch) | |
tree | 53bf6a2b06b97cde43a11cafda54942a3a9bea45 /src/xine-engine/metronom.c | |
parent | 4b36ff207a52ea90bfd9b8c34c97f14963f0960d (diff) | |
download | xine-lib-4c71c84391e9a607394b7f7a23877ba15dffbf67.tar.gz xine-lib-4c71c84391e9a607394b7f7a23877ba15dffbf67.tar.bz2 |
new configfile interface, code cleanup, xprintf is gone
CVS patchset: 1064
CVS date: 2001/11/18 03:53:23
Diffstat (limited to 'src/xine-engine/metronom.c')
-rw-r--r-- | src/xine-engine/metronom.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index 950f80cd2..2924d6a4b 100644 --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: metronom.c,v 1.36 2001/11/17 14:26:39 f1rmb Exp $ + * $Id: metronom.c,v 1.37 2001/11/18 03:53:25 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -389,7 +389,9 @@ static void metronom_set_audio_rate (metronom_t *this, uint32_t pts_per_smpls) { pthread_mutex_unlock (&this->lock); - xprintf (METRONOM | VERBOSE, "metronom: %d pts per %d samples\n", pts_per_smpls, AUDIO_SAMPLE_NUM); +#ifdef METRONOM_LOG + printf ("metronom: %d pts per %d samples\n", pts_per_smpls, AUDIO_SAMPLE_NUM); +#endif } @@ -613,9 +615,11 @@ static uint32_t metronom_got_audio_samples (metronom_t *this, uint32_t pts, uint32_t nsamples, uint32_t scr) { uint32_t vpts; - - xprintf (METRONOM | VERBOSE, "metronom: got %d audio samples (pts=%d)\n", - nsamples,pts); + +#ifdef METRONOM_LOG + printf ("metronom: got %d audio samples (pts=%d)\n", + nsamples,pts); +#endif pthread_mutex_lock (&this->lock); |