Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Scott C. Brown 02
--- Josh Coalson wrote: damn, I see the problem. there needs to be an #if FLAC__HAS_OGG nearby, like so: if(num_requested_seek_points < 0) { #if FLAC__HAS_OGG /*@@ workaround ogg bug: too many seekpoints makes table not fit in one page */ if(e->use_ogg && e->total_samples_

Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Josh Coalson
damn, I see the problem. there needs to be an #if FLAC__HAS_OGG nearby, like so: if(num_requested_seek_points < 0) { #if FLAC__HAS_OGG /*@@ workaround ogg bug: too many seekpoints makes table not fit in one page */ if(e->use_ogg && e->total_samples_to_encode > 0 && e->tota

Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Scott C. Brown 02
--- Brian Willoughby wrote: Did you build and install libOgg first? What is the output of ./configure before you run make? --- end of quote --- i've never had to build libOgg before (won't be back to my machine until tomorrow so I can't post the output until then) Thanks, Scott _

Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Brian Willoughby
Did you build and install libOgg first? What is the output of ./configure before you run make? Brian Willoughby Sound Consulting On Jul 25, 2007, at 14:45, Scott C. Brown 02 wrote: I just tried to build 1.2 on my Macbook i ran configure with the following arguments (like i have in the past)

[Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Scott C. Brown 02
I just tried to build 1.2 on my Macbook i ran configure with the following arguments (like i have in the past) ./configure --enable-static --disable-asm-optimizations --disable-shared then "make: i get the following error: encode.c: In function 'convert_to_seek_table_template': encode.c:2181:

Re: [Flac-dev] FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM

2007-07-25 Thread Brian Willoughby
I haven't studied this thoroughly, but perhaps the return code is supposed to distinguish bad streams from good streams. Every stream must end eventually, but that does not mean there is an error with the stream. You're wanting a return code that tells you whether to continue processing b

Re: [Flac-dev] Is FLAC__stream_decoder_seek_absolute working for OggFlac?

2007-07-25 Thread Erik de Castro Lopo
Josh Coalson wrote: > --- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > Is seeking working for OggFlac files? I keep on getting a > > FLAC__STREAM_DECODER_SEEK_ERROR. > > yes, it should work fine. in flac/src/test_seeking/main.c there > is an example usage of FLAC__strea

Re: [Flac-dev] PATCH : Fix missing protoypes

2007-07-25 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > I can play with this over the weekend if you like and come up > with a new patch for configure.ac. Here's a much cleaner patch which only adds -Wmissing-prototypes and -Wstrict-prototypes to CFLAGS, not to CXXFLAGS. Cheers, Erik 8<--

Re: [Flac-dev] FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM

2007-07-25 Thread Erik de Castro Lopo
Josh Coalson wrote: > > I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single > > return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM? > > it supposed to be like that actually, there's a little explanation > here: > > http://flac.sourceforge.net/api/group__flac__stream_