diff options
Diffstat (limited to 'src/liblame_wrapper.cc')
-rw-r--r-- | src/liblame_wrapper.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/liblame_wrapper.cc b/src/liblame_wrapper.cc index 87b2f11..c72c2dc 100644 --- a/src/liblame_wrapper.cc +++ b/src/liblame_wrapper.cc @@ -222,7 +222,7 @@ Frame *LibLAMEWrapper::encode(Frame *dvframe) mp3buf_size - val); // number of valid octets in this stream */ - info->info("VAL: %d - FLUSH_SZ: %d - TOTAL: %d", val, flush_sz, (val + flush_sz)); + // info->info("VAL: %d - FLUSH_SZ: %d - TOTAL: %d", val, flush_sz, (val + flush_sz)); audio_frame->size = val + flush_sz; @@ -265,5 +265,10 @@ Frame *LibLAMEWrapper::encode(Frame *dvframe) (float)(config->readInt("mp3_bitrate") * 1000)/(float)(audio_frame->bitrate)); */ + /* + FILE* fp = fopen("/tmp/audiotest.mp3", "a"); + fwrite(audio_frame->data, audio_frame->size, 1, fp); + fclose(fp); + */ return audio_frame; } |