Displaying 2 results from an estimated 2 matches for "flac__file_decoder_set_md5_checking".
2004 Sep 10
1
How do I use FLAC in my C++ program ?
...blem..
I wish to use C++ for my program, but when I try to compile it with g++
I get the following types of errors:
/home/dave/development/splitimg/splitimg.cpp:153: undefined reference to
`FLAC__file_decoder_new(void)'
/home/dave/development/splitimg/splitimg.cpp:154: undefined reference to
`FLAC__file_decoder_set_md5_checking(FLAC__FileDecoder const *, int)'
and so on, you get the idea... its not linking to libFLAC :(
my compile line is:
g++ -g -o splitimg splitimg.cpp -lao -ldl -lFLAC -lm
What is going wrong here, can I use libFLAC in C++ ?
I have written a (very)simple flac player in C and that compiles file
wi...
2004 Sep 10
0
http streaming in the xmms plugin
...uffer_free();
***************
*** 440,485 ****
return 0; /* to silence the compiler warning about not returning a value */
}
! FLAC__bool safe_decoder_init_(const char *filename, FLAC__FileDecoder *decoder)
{
! if(decoder == 0)
! return false;
! safe_decoder_finish_(decoder);
! FLAC__file_decoder_set_md5_checking(decoder, false);
! FLAC__file_decoder_set_filename(decoder, filename);
! FLAC__file_decoder_set_metadata_ignore_all(decoder);
! FLAC__file_decoder_set_metadata_respond(decoder, FLAC__METADATA_TYPE_STREAMINFO);
! FLAC__file_decoder_set_metadata_respond(decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT...