From 3ec17a7ab21b1211def9303df9e8eb638bf81504 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Mon, 9 Feb 2004 16:05:32 +0000 Subject: [PATCH] remove spurious return in get_audio git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@129 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/core/filter_volume.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/core/filter_volume.c b/src/modules/core/filter_volume.c index 891d63a..1335048 100644 --- a/src/modules/core/filter_volume.c +++ b/src/modules/core/filter_volume.c @@ -185,8 +185,7 @@ static int filter_get_audio( mlt_frame frame, int16_t **buffer, mlt_audio_format // Get the producer's audio mlt_frame_get_audio( frame, buffer, format, frequency, channels, samples ); - //fprintf( stderr, "filter_volume: frequency %d\n", *frequency ); - return 0; +// fprintf( stderr, "filter_volume: frequency %d\n", *frequency ); // Determine numeric limits int bytes_per_samp = (samp_width - 1) / 8 + 1; @@ -209,7 +208,7 @@ static int filter_get_audio( mlt_frame frame, int16_t **buffer, mlt_audio_format *smooth_index = ( *smooth_index + 1 ) % window; // Smooth the data and compute the gain - //fprintf( stderr, "smoothed %f over %d frames\n", get_smoothed_data( smooth_buffer, window ), window ); +// fprintf( stderr, "smoothed %f over %d frames\n", get_smoothed_data( smooth_buffer, window ), window ); gain *= amplitude / get_smoothed_data( smooth_buffer, window ); } } -- 1.7.4.4