I have a small issue here. I'm using lame to encode small blocks at low bitrate (551 samples of 11khz/mono at 8/16kbit).
this is the code I use to setup: gfp = lame_init(); lame_set_num_channels(gfp, 1); lame_set_in_samplerate(gfp, 11025); lame_set_out_samplerate(gfp, 11025); lame_set_allow_diff_short(gfp, 0); // is this neccessary? lame_set_mode(gfp, MONO); lame_set_brate(gfp, 16); lame_init_params(gfp); this is the call I make to encode: byteswritten = lame_encode_buffer(gfp, (short*)buf, (short*)buf, 551, mp3, 0); byteswritten += lame_encode_flush(gfp, mp3+byteswritten, 0); as far as I understand, this should always yield some frames, but sometimes it does not, and it seems to be doing it on a consistent basis - every 23 calls to the function pair, it gives me 0 bytes. the lame_encode_flush_nogap() exhibits the same behaviour. is this normal, or could it be some sort of a bug? please CC me as I'm not part of the list. Thank you. _______________________________________________ mp3encoder mailing list [EMAIL PROTECTED] http://minnie.tuhs.org/mailman/listinfo/mp3encoder
