[Flac-dev] Flac and OggFlac

Eric Dantan Rzewnicki
2005-10-03T13:34:43Z

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
CONFIDENTIAL COMMUNICATION
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@rfa.org.