Displaying 11 results from an estimated 11 matches for "flac__stream_decoder_init".
2004 Sep 10
1
IA64 (Re: patches for flac build)
...ABSOLUTELY NO WARRANTY. This is free software, and you are
> welcome to redistribute it under certain conditions. Type `flac' for details.
>
> options: -P 0 -b 4608 -m -l 8 -q 0 -r 3,3 -R 0 -V
> /home/mdz/english.wav:
> @@@ FLAC__CPU_UNKNOWN
> lt-flac: stream_decoder.c:173: FLAC__stream_decoder_init: Assertion `decoder->guts->cpuinfo.use_asm' failed.
> Aborted
It looks like this is because FLAC__NO_ASM isn't defined, but should be.
configure.in should default to disabling asm optimizations unless the host
architecture is one of those that are recognized.
--
- mdz
2004 Sep 10
2
Storing FLAC in Matroska
...= "C:\\My Music\\44.1Hz Stereo PCM_5.flac";
flacObjData->inputFile = fopen(flacObjData->filename, "rb");
flacObjData->outputFile = fopen("test.raw", "wb");
FLAC__stream_decoder_set_client_data(flac_file, (void *)flacObjData);
//Init the decoder
FLAC__stream_decoder_init(flac_file);
//Start decoding, the callbacks do all the work from here
FLAC__stream_decoder_process_until_end_of_stream(flac_file);
return 0;
}
----- Original Message -----
From: "Josh Coalson" <xflac@yahoo.com>
To: "Jory" <jcsston@ToughGuy.net>; <flac-dev@list...
2004 Nov 06
3
Compile flac-1.1.1 on ppc Linux
Hi all,
I'm trying to compile the flac-1.1.1 tarball on a Linux PPC system (a G3 iBook
running Debian Testing).
Configure is fine, but make bombs out almost immediately with:
lpc_asm.s: Assembler messages:
lpc_asm.s:1: Error: junk at end of line, first unrecognized character is `l'
lpc_asm.s:2: Error: junk at end of line, first unrecognized character is `C'
lpc_asm.s:4:
2004 Sep 10
3
patches for flac build
> > > Unfortunately, there is a bigger problem that affects both SDL
> > > and FLAC,
> > > which is that the assembly routines are not PIC.
> >
> > It's not? I think all the IA32 code only references data on the
> > stack, and
> > it doesn't call outside the library or export any functions outside
> > the
> > library. The
2004 Oct 06
0
flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
...haven't the time to investigate the
> issue
> yet=/)
>
>
> More verbose report about the no altivec bug:
>
> If I disable altivec optimization (with --disable-asm-optimizations
> --disable-altivec)
>
> the result is:
>
> stream_decoder.c: In function `FLAC__stream_decoder_init':
> stream_decoder.c:296: error: `FLAC__lpc_restore_signal' undeclared
> (first use in this function)
> stream_decoder.c:296: error: (Each undeclared identifier is reported
> only once
> stream_decoder.c:296: error: for each function it appears in.)
> stream_decoder.c:29...
2004 Sep 10
0
patches for flac build
...Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
options: -P 0 -b 4608 -m -l 8 -q 0 -r 3,3 -R 0 -V
/home/mdz/english.wav:
@@@ FLAC__CPU_UNKNOWN
lt-flac: stream_decoder.c:173: FLAC__stream_decoder_init: Assertion `decoder->guts->cpuinfo.use_asm' failed.
Aborted
--
- mdz
2011 Apr 06
2
Compiling ices0.4 from source
...me/techie/Desktop/ices-0.4/src/in_flac.c:82: undefined reference to
`FLAC__stream_decoder_set_error_callback'
/home/techie/Desktop/ices-0.4/src/in_flac.c:90: undefined reference to
`FLAC__stream_decoder_set_client_data'
/home/techie/Desktop/ices-0.4/src/in_flac.c:99: undefined reference to
`FLAC__stream_decoder_init'
collect2: ld returned 1 exit status
make[3]: *** [ices] Error 1
make[3]: Leaving directory `/home/techie/Desktop/ices-0.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/techie/Desktop/ices-0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving dire...
2004 Sep 10
2
Storing FLAC in Matroska
Hello,
I'm looking into storing FLAC audio in Matroska and I have a few
questions.
1. Can I use libflac to extract the compressed frames?
Or will I need to write up a simple file parser?
2. What is required to decode the frames?
From the docs I understand that you need the FRAME and you may need the
METADATA_BLOCK.
Thanks,
Jory Stone
jcsston@toughguy.net
Matroska, the new,
2011 Oct 13
1
Problem with Ices
2004 Oct 06
3
flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
...e 2 altivec asm function
aren't properly linked in, I haven't the time to investigate the issue
yet=/)
More verbose report about the no altivec bug:
If I disable altivec optimization (with --disable-asm-optimizations
--disable-altivec)
the result is:
stream_decoder.c: In function `FLAC__stream_decoder_init':
stream_decoder.c:296: error: `FLAC__lpc_restore_signal' undeclared
(first use in this function)
stream_decoder.c:296: error: (Each undeclared identifier is reported
only once
stream_decoder.c:296: error: for each function it appears in.)
stream_decoder.c:297: error: `FLAC__lpc_restore_s...
2004 Sep 10
0
http streaming in the xmms plugin
...es ? FLAC__STREAM_DECODER_READ_STATUS_CONTINUE : FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM;
! }
!
! static FLAC__bool http_decoder_init (void *decoder)
! {
! flac_http_open (url_, 0);
! g_free (url_);
! FLAC__stream_decoder_set_read_callback (decoder, http_decoder_read_callback);
! return FLAC__stream_decoder_init( (FLAC__StreamDecoder*) decoder) == FLAC__STREAM_DECODER_SEARCH_FOR_METADATA;
! }
!
! static void http_decoder_safe_decoder_finish_(void *decoder)
{
! if(decoder && FLAC__stream_decoder_get_state((FLAC__StreamDecoder *) decoder) != FLAC__STREAM_DECODER_UNINITIALIZED) {
! FLAC__stream_...