Displaying 5 results from an estimated 5 matches for "flac__file_decoder_new".
2004 Sep 10
1
[Flac-users] error: FLAC required!
...cking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for FLAC__file_decoder_new in -lFLAC... no
configure: error: FLAC required!
Why? Reading ELF:
-----------------
bash-2.05a# readelf -s libFLAC.so.4 |grep FLAC__file_decoder_new
338: 0000ff70 379 FUNC GLOBAL DEFAULT 10 FLAC__file_decoder_new
658: 0000ff70 379 FUNC GLOBAL DEFAULT 10 FLAC__file_decoder_new
It...
2004 Sep 10
1
How do I use FLAC in my C++ program ?
...backups, which are stored as a .flac file and a cdrwin style .cue
file. Anyway enough of that, onto the problem..
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...
2004 Sep 10
1
[Flac-users] Trouble Building flac-1.1.0
...defaults to `int' in declaration of `FLAC__FileDecoderPrivate'
file_decoder.c:67: warning: data definition has no type or storage class
file_decoder.c:75: syntax error before "const"
file_decoder.c:93: syntax error before "FLAC__FileDecoder"
file_decoder.c: In function `FLAC__file_decoder_new':
file_decoder.c:110: parse error before ')' token
file_decoder.c:117: dereferencing pointer to incomplete type
file_decoder.c:118: dereferencing pointer to incomplete type
file_decoder.c:125: dereferencing pointer to incomplete type
file_decoder.c: At top level:
file_decoder.c:134: syn...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...derTellStatus tell_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data);
@@ -101,7 +101,7 @@ FLAC_API const char * const FLAC__FileDe
*
***********************************************************************/
-FLAC_API FLAC__FileDecoder *FLAC__file_decoder_new()
+FLAC_API FLAC__FileDecoder *FLAC__file_decoder_new(void)
{
FLAC__FileDecoder *decoder;
@@ -567,7 +567,7 @@ void set_defaults_(FLAC__FileDecoder *de
/*
* This will forcibly set stdin to binary mode (for OSes that require it)
*/
-FILE *get_binary_stdin_()
+FILE *get_binary_stdin_(void)...
2004 Sep 10
0
http streaming in the xmms plugin
...FLAC_XMMS__init()
{
ConfigFile *cfg;
***************
*** 181,187 ****
if(!xmms_cfg_read_int(cfg, "flac", "output.resolution.replaygain.bps_out", &flac_cfg.output.resolution.replaygain.bps_out))
flac_cfg.output.resolution.replaygain.bps_out = 16;
! decoder_ = FLAC__file_decoder_new();
xmms_cfg_free(cfg);
}
--- 246,274 ----
if(!xmms_cfg_read_int(cfg, "flac", "output.resolution.replaygain.bps_out", &flac_cfg.output.resolution.replaygain.bps_out))
flac_cfg.output.resolution.replaygain.bps_out = 16;
! /* stream */
!
! xmms_cfg_read_int...