]> git.sesse.net Git - mlt/commitdiff
remove spurious return in get_audio
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 9 Feb 2004 16:05:32 +0000 (16:05 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 9 Feb 2004 16:05:32 +0000 (16:05 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@129 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/core/filter_volume.c

index 891d63a60097a80fe03dd77818d4eed9b7439081..13350480ca38934581ae3a14beaf2aa8d8380f82 100644 (file)
@@ -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 );
                        }
                }