[Flac-dev] Re: Odd xmms plugin behavior

Josh Coalson xflac at yahoo.com
Thu Mar 29 11:46:52 PST 2001


hmm, you must have found a bug.  the format does support other
resolutions and sample rates, and the test suite does include
numerous 8 bps mono files, so it's probably in the plugin itself.

if you 'flac -t' the encoded 8-bit mono file, does it test ok?

Josh

--- Matt Zimmerman <mdz at debian.org> wrote:
> While testing out the xmms plugin, I found that the 0.8 plugin would
> not play a
> file I had just previously encoded with the 0.8 encoder.  The file
> tested and
> decoded fine.  I added some debugging statements and such, and found
> that
> FLAC__file_decoder_process_one_frame was setting status to
> FLAC__FILE_DECODER_STREAM_ERROR.  As I said, the 'flac' decoder could
> decode
> the file just fine, and unless I'm mistaken, that uses the file
> decoder also.
> 
> The only odd thing about the input wave file was that it was 8bit
> mono
> (22050Hz).  oN a hunch, I converted the wave file to CD audio format
> (16bit/stereo/44100Hz) with sox, and re-encoded it.  The plugin
> played the
> resulting file fine.  I tried a few tests (converting to stereo and
> leaving
> everything else the same, converting to 16 bit and leaving everything
> else the
> same), and in every case the flac file wouldn't play.
> 
> The documentation seems to imply that formats other than
> 16bit/stereo/44100Hz
> are supported.  Is this a documentation bug, or a software bug?
> 
> -- 
>  - mdz


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text




More information about the Flac-dev mailing list