[Flac-dev] Bits per Sample, Channel Count

Ingo Ralf Blum ingoralfblum at gmx.de
Fri Feb 15 20:25:06 PST 2002


> I don't know if this will help, but when libFLAC calls your
> write callback, it will pass you a whole FLAC__Frame, from
> which you can get that info.  or is that too late also?

I need that information mostly, for seeking purposes. The only problem might
arise, when there is a seekable file on input and these properties change
during playback, because then the seek controls (like position slider, etc)
might show wrong values. For a streaming situation this can be ignored,
because you can't seek then anyway (when using the other standard DirectShow
filters).

I just wanted to know, whether I have to forward changes sample rate, etc..
downstream or notify an error to the player.

Regards,

Ingo







More information about the Flac-dev mailing list