search for: set_metadata_respond

Displaying 4 results from an estimated 4 matches for "set_metadata_respond".

2005 Jan 02
1
Difficulties to get decoder to work
Hi, I'm developing a plugin for a settop-box application to make use of flac files. However, I have difficulties to get the file-decoder to run in C++. What I do in my derived decoder class is basically: - create an instance of FLAC::Decoder::File, calling also the bsae class c'tor - set_metadata_respond( FLAC__METADATA_TYPE_STREAMINFO ), set_filename() - process_until_end_of_metadata() - repeatedly call process_single() However, none of my callbacks is actually called during the process_* calls. Instead, after the call to process metadata, the status of the stream decoder is FLAC__STREAM_DECODE...
2004 Sep 10
2
FLAC++ SeekableStream write_callback not being called?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am trying to create a FLAC plugin for the K3b CD burning program. To do this I have subclassed the FLAC::Decoder::SeekableStream class. I can obtain the vorbiscomment data using set_metadata_respond, process_until_end_of_metadata and the metadata_callback, however I cannot decode the audio data. It seems to me as though the write_callback is never actually being called. Before I pepper my code with a bazillion trace statements, can anyone tell me if there is some obvious "trick-for-ne...
2004 Sep 10
0
FLAC++ SeekableStream write_callback not being called?
....net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I am trying to create a FLAC plugin for the K3b CD burning program. > To do this > I have subclassed the FLAC::Decoder::SeekableStream class. I can > obtain the > vorbiscomment data using set_metadata_respond, > process_until_end_of_metadata > and the metadata_callback, however I cannot decode the audio data. It > seems > to me as though the write_callback is never actually being called. > > Before I pepper my code with a bazillion trace statements, can anyone > tell me > if...
2004 Sep 10
0
http streaming in the xmms plugin
...client_data); + + typedef struct { + FLAC__bool seekable; + void* (*new_decoder) (void); + FLAC__bool (*set_md5_checking) (void *decoder, FLAC__bool value); + FLAC__bool (*set_source) (void *decoder, const char* source); + FLAC__bool (*set_metadata_ignore_all) (void *decoder); + FLAC__bool (*set_metadata_respond) (void *decoder, FLAC__MetadataType type); + FLAC__bool (*set_write_callback) (void *decoder, WriteCallback value); + FLAC__bool (*set_metadata_callback) (void *decoder, MetadataCallback value); + FLAC__bool (*set_error_callback) (void *decoder, ErrorCallback value); + FLAC__bool (*set_client_d...