search for: metadatacallback

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

Did you mean: metadata_callback
2004 Sep 10
2
possible bug in process_metadata()
Hello! I'm using the seekable stream decoder API of libFLAC 1.02 and I think that I found a possible bug in process_metadata(). The problem is as follows: I have a file which isn't a FLAC sample (it's actually an ACE archive) where process_metadata() returns TRUE. And even worse, the metadataCallback() is never called (which means process_metadata() succeeds, although no metadata is actually processed). Is this legal? I thought that all FLAC streams must have at least a STREAMINFO metadata block at the very beginning. My program then fails because the channels/frequency etc. variables arn't...
2004 Sep 10
0
http streaming in the xmms plugin
...in #undef min *************** *** 68,73 **** --- 72,106 ---- DitherContext dither_context; } file_info_struct; + typedef FLAC__StreamDecoderWriteStatus (*WriteCallback) (const void *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); + typedef void (*MetadataCallback) (const void *decoder, const FLAC__StreamMetadata *metadata, void *client_data); + typedef void (*ErrorCallback) (const void *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); + + typedef struct { + FLAC__bool seekable; + void* (*new_decoder) (void); + FLAC__bool (*set_md5_che...