Displaying 1 result from an estimated 1 matches for "uitsflacmetadata".
2010 Apr 21
1
How do you set the Application ID value in an an Application Metadata Block?
...but that hurts my good coding sense.
(Note: I have already registered my ID.)
Is there an API call to set the application metadata ID?
Here's what I'm doing:
myFlacMetadata = FLAC__metadata_object_new
(FLAC__METADATA_TYPE_APPLICATION);
FLAC__metadata_object_application_set_data (uitsFlacMetadata,
myMetadata, myMetadataSize, FALSE);
/* this is a BIG FAT NO NO, but I cannot for the life of me find any way
in the FLAC API to set */
/* the Application block application ID, therefore I am going rogue and
setting it explicitly */
myFlacMetadata->data.application.id[0] = 'M...