[Flac-dev] usage of C++ StreamMetadata interface
xflac at yahoo.com
Wed Jul 21 17:52:20 PDT 2004
--- Josh Coalson <xflac at yahoo.com> wrote:
> --- Thomas Eschenbacher <Thomas.Eschenbacher at gmx.de> wrote:
> > Josh Coalson wrote:
> > > [...]
> > > why do you need one? all the fields are available though method
> > > calls.
> > just an example:
> > I created an object of the type "FLAC::Metadata::VorbisComment".
> > How will this find it's way to
> > "FLAC::Stream::Encoder.set_metadata()" ???
> I see, yep that's a problem. there should be versions of
> FLAC::Encoder::*::set_metadata() that take a list of
> FLAC::Metadata objects also.
OK, I added a
set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)
to all the encoder interfaces which takes an array of pointers
to metadata objects; as with the other method, the caller has to
free the objects after initializing the encoder.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Flac-dev