--- Thomas Eschenbacher <[EMAIL PROTECTED]> 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. it's easy enough to fix by modifying the API to expose the pointer. if that's not possible, the workaround may be something like class VorbisComment: public FLAC::Metadata::VorbisComment { public: ::FLAC__StreamMetadata *getObject() { return object_; } }; to dig it out. Josh __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-dev
