Thomas Eschenbacher
2004-Sep-10 16:45 UTC
[Flac-dev] usage of C++ StreamMetadata interface
Hi, I would like to use the nice C++ wrapper classes for FLAC metadata in a FLAC::Stream::Encoder, but I cannot find an interface to get a "FLAC__StreamMetadata *" from one of those objects. So, as the FLAC::Stream::Encoder.set_metadata() function takes a "FLAC__StreamMetadata **" - so how can I use this, how is this intended to work??? For me all those Metadata classes look nice but useless!? Why is there no conversion, or why does the C++ function need to use a structure directly from the C layer? regards, Thomas
--- Thomas Eschenbacher <Thomas.Eschenbacher@gmx.de> wrote:> Hi, > > I would like to use the nice C++ wrapper classes for FLAC metadata in > a > FLAC::Stream::Encoder, but I cannot find an interface to get a > "FLAC__StreamMetadata *" from one of those objects. > > So, as the FLAC::Stream::Encoder.set_metadata() function takes a > "FLAC__StreamMetadata **" - so how can I use this, how is this > intended > to work??? > > For me all those Metadata classes look nice but useless!? > > Why is there no conversion, or why does the C++ function need to use > a > structure directly from the C layer?why do you need one? all the fields are available though method calls. Josh __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail
Thomas Eschenbacher
2004-Sep-10 16:45 UTC
[Flac-dev] usage of C++ StreamMetadata interface
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()" ??? Thomas