search for: flac__filedecoderst

Displaying 6 results from an estimated 6 matches for "flac__filedecoderst".

Did you mean: flac__filedecoder
2004 Sep 10
1
[Flac-users] Trouble Building flac-1.1.0
...ncomplete type file_decoder.c: At top level: file_decoder.c:134: syntax error before "void" file_decoder.c: In function `FLAC__file_decoder_delete': file_decoder.c:143: dereferencing pointer to incomplete type file_decoder.c: At top level: file_decoder.c:156: syntax error before "FLAC__FileDecoderState" file_decoder.c: In function `FLAC__file_decoder_init':
2004 Sep 10
2
Using libFLAC++
...mplemented all the required functions (meta,error, and write_callback). However, when I do the following, it prints 7, which appears to be FLAC__FILE_DECODER_INVALID_CALLBACK, meaning I haven't set up one of the callbacks that I need to. bool FlacDecoder::play(const char *filename) { FLAC__FileDecoderState fstate; set_filename(filename); fstate = FLAC__file_decoder_init(decoder_); cout << fstate << endl; return true; } Now, I thought the main difference between libFLAC and libFLAC++ was that in c++ you didn't have to manually set the callbacks, just inherit and...
2010 Jul 21
2
Compiling in Xcode
...a fountain with hundreds errors all of the same nature, choking seemingly on struct definitions, for the most part: src/flac-1.1.0/src/libFLAC/include/protected/file_decoder.h:26:0 src/flac-1.1.0/src/libFLAC/include/protected/file_decoder.h:26: error: expected specifier-qualifier-list before 'FLAC__FileDecoderState' and /Users/dmitry/Developer/objc/xiph-qt/build-macosx/../OggImport/src/importer_types.h:99:0 /Users/dmitry/Developer/objc/xiph-qt/build-macosx/../OggImport/src/importer_types.h:99: error: syntax error before 'Track' are some of the repeating examples of errors. I've tried b...
2004 Sep 10
0
Using libFLAC++
...ns (meta,error, and write_callback). > However, when I do the following, it prints 7, which appears to be > FLAC__FILE_DECODER_INVALID_CALLBACK, meaning I haven't set up one of the > callbacks that I need to. > > bool FlacDecoder::play(const char *filename) > { > FLAC__FileDecoderState fstate; > set_filename(filename); > > fstate = FLAC__file_decoder_init(decoder_); This is wrong. It should be: fstate = init(); > cout << fstate << endl; > > return true; > } > [...] -- Miroslav Lichvar
2010 Jul 22
1
Compiling the Xiph QuickTime component project in Xcode 3.2
...a fountain with hundreds errors all of the same nature, choking seemingly on struct definitions, for the most part: src/flac-1.1.0/src/libFLAC/include/protected/file_decoder.h:26:0 src/flac-1.1.0/src/libFLAC/include/protected/file_decoder.h:26: error: expected specifier-qualifier-list before 'FLAC__FileDecoderState' and /Users/dmitry/Developer/objc/xiph-qt/build-macosx/../OggImport/src/importer_types.h:99:0 /Users/dmitry/Developer/objc/xiph-qt/build-macosx/../OggImport/src/importer_types.h:99: error: syntax error before 'Track' are some of the repeating examples of errors. I've tried bu...
2010 Jul 21
0
Compiling in Xcode
...of the same nature, choking seemingly on struct > definitions, for the most part: > > src/flac-1.1.0/src/libFLAC/include/protected/file_decoder.h:26:0 > src/flac-1.1.0/src/libFLAC/include/protected/file_decoder.h:26: > error: expected specifier-qualifier-list before > 'FLAC__FileDecoderState' > > and > > /Users/dmitry/Developer/objc/xiph-qt/build-macosx/../OggImport/src/ > importer_types.h:99:0 /Users/dmitry/Developer/objc/xiph-qt/build- > macosx/../OggImport/src/importer_types.h:99: error: syntax error > before 'Track' > > are some of the...