[Flac-dev] Flac and OggFlac

Eric Dantan Rzewnicki rzewnickie at rfa.org
Mon Oct 3 13:34:31 PDT 2005

On Tue, Oct 04, 2005 at 05:43:41AM +1000, Erik de Castro Lopo wrote:
> HI all,
> I have already added FLAC support to libsndfile and I am now
> working on adding support for OggFLAC. I have a couple of 
> question about things that seem radically different between
> regular FLAC and OggFLAC.
>   1) FLAC has a function:
>         FLAC__seekable_stream_decoder_get_decode_position
>       but there seems to be no corresponding function:
>         OggFLAC__seekable_stream_decoder_get_decode_position
>       Why is that?
>   2) I have registered a metadata callback function with 
>      OggFLAC__seekable_stream_decoder_set_metadata_callback and 
>      I'm looking at the metadata struct being passed back. When
> 	 using regular FLAC the field:
>         metadata->data.stream_info.total_samples
>      is set correctly, but with OggFLAC it seems to always be 
> 	 zero. Why?
> Can anyone shed any light?

No light here, I'm afraid. But a question: will your OggFlac support be
via libfishsound, or your own direct implementation in libsndfile?

If you are doing this directly are you still planning to use
libfishsound for OggSpeex and OggVorbis support?

Eric Dantan Rzewnicki  |  Systems Administrator
Technical Operations Division  |  Radio Free Asia
2025 M Street, NW  |  Washington, DC 20036  |  202-530-4900
This e-mail message is intended only for the use of the addressee and
may contain information that is privileged and confidential. Any 
unauthorized dissemination, distribution, or copying is strictly 
prohibited. If you receive this transmission in error, please contact
network at rfa.org.

More information about the Flac-dev mailing list