search for: flac__metadata_chain_read

Displaying 1 result from an estimated 1 matches for "flac__metadata_chain_read".

2010 Mar 08
0
Difficulties in add cover art to FLAC file
Hi all, recently I tried to add cover art to flac files and have dfficulties in doing so. FLAC__Metadata_Chain *chain = FLAC__metadata_chain_new(); if(0 == chain) return; if(!FLAC__metadata_chain_read(chain, filename)) return; FLAC__StreamMetadata *picture = FLAC__metadata_object_new(FLAC__METADATA_TYPE_PICTURE); FLAC__Metadata_Iterator *iterator = FLAC__metadata_iterator_new(); if(0 == iterator) return; FLAC__metadata_iterator_init(iterator, chain); while(FLAC__metadata_iterator_next(i...