search for: header_flac

Displaying 2 results from an estimated 2 matches for "header_flac".

Did you mean: header_flags
2005 Aug 01
1
Application Metadata
...ly just a string of characters, which doesn't need to be null-terminated. I've looked through the docs, i've looked through the tests, and sorry to say, but I just Don't Get It. Based on some of the test code, I had assumed I would do something like: FLAC::Metadata::Application header_flac; FLAC__byte header_flac_id[4] = { 1, 2, 3, 4 }; header_flac.set_id(header_flac_id); header_flac.set_data((FLAC__byte*)(header_str.begin()),header_str.size()); // set the metadata FLAC::Metadata::Prototype *metadata_sequence[] = { &header_flac }; enc.set_metadata(metadata_sequence,sizeof(metada...
2006 May 11
2
C++ Set_Metadata Problem
...d a simple metadata block looked right, but it did not work for him. I have tried the same and also can not get it to work, but with a different error. To recap... (I've left out is-valid checks in the listing for brevity) ////////// // Create an application block FLAC::Metadata::Application header_flac; FLAC__byte header_flac_id[4] = { 1, 2, 3, 4 }; header_flac.set_id(header_flac_id); header_flac.set_data((FLAC__byte*)(header_str.begin()),header_str.size() ); // Add the block to a metadata array and pass the array to the encoder object FLAC::Metadata::Prototype *meta[] = { &header_flac }; se...