[Flac-dev] debugging the bits_per_sample and channels metadata in
xflac at yahoo.com
Wed May 10 16:20:09 PDT 2006
sorry for the delay Jeff,
I have no idea what could be causing that. how exactly are you
building it (gcc cross compile?). if I could reproduce it I'd
have a better chance of figuring it out.
--- Jeff Huang <huang6 at uiuc.edu> wrote:
> I encountered what I think is a bug in labFLAC_static release that's
> driving me nuts.
> I compile the FLAC libraries in debug mode on ARMV4 (ported) and it
> works fine
> I compile the FLAC libraries in release mode on ARMV4 (ported) and no
> FLAC files play
> >From what I can see, in metadata_callback, I get different values
> channel and bitsperssample
> metadata->data.stream_info.bits_per_sample is 16 in debug mode, 1072
> release mode
> metadata->data.stream_info.channels is 2 in debug mode, 34 in release
> I'm using FLAC CVS, but reproduced this in FLAC 1.1 and FLAC 1.2
> I also tried several different .flac files
> For the port, I don't really touch much of the FLAC code so I don't
> think the porting caused this bug.
> If I compile my release code with the debug FLAC static libraries, it
> works fine.
> I dug around the FLAC code for a bit and it's pretty hard to me to
> figure out.
> Any pointers or thoughts on this?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Flac-dev