>
> So, its seems to be that easy, just count a few lame_readframe
> without invoking lame_encode, ...
>
> Ok, searched a bit and what is done is reading PCM-frames.
> They use 2x1152 bytes,
>
> BUT: how long is a PCM-Frame in seconds?
>
> Answers are welcome, and thanx in advance
>
> Hubertus Krogmann PaderLinx Neue Informationsmedien GmbH
> Email: [EMAIL PROTECTED]
one frame: is 1152 samples/frame.
You need to know the sampling frequency of your input file,
probably 44.1kHz? = 44100 samples/second
1152 samples/frame / (44100 samples/second) = .0261 seconds/frame
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )