Displaying 1 result from an estimated 1 matches for "metadata_sequ".
Did you mean:
metadata_seq
2005 Aug 01
1
Application Metadata
...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(metadata_sequence)/sizeof(metadata_sequence[0]));
// and now i continue to init(), process_interleaved() and finish()
But that kept giving me segmentation faults. So I tried the following,
and it still gave me segmentation...