summaryrefslogtreecommitdiff
path: root/src/liblame_wrapper.cc
diff options
context:
space:
mode:
authordeva <deva>2005-09-18 12:52:16 +0000
committerdeva <deva>2005-09-18 12:52:16 +0000
commita37c83d8c536ef6dd53b130e92022b04e8559f5b (patch)
treefd08ba4bb2c339b4998437e43d620083c33cf60a /src/liblame_wrapper.cc
parentc5ab3a0ea0dfe35dd1927c2ca3c9f27be9db2ebd (diff)
*** empty log message ***
Diffstat (limited to 'src/liblame_wrapper.cc')
-rw-r--r--src/liblame_wrapper.cc7
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;
}