Bug 10815 - Extend STMn to indicate why decoder failed
: Extend STMn to indicate why decoder failed
Status: CLOSED FIXED
Product: SB 2/3
Classification: Unclassified
Component: Audio
: 123
: PC Other
: -- enhancement (vote)
: 7.3.3
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-24 06:41 UTC by Andy Grundman
Modified: 2009-06-17 09:36 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Grundman 2009-01-24 06:41:46 UTC
Decoding can fail for any number of reasons, I think we should add a numerical code to STMn so we can report better error messages.  We can map these codes to DECODE_ERROR_NNN strings or something.

For Ogg it can fail for any of the following reasons:
Channels > 2
Not enough memory
Invalid sample rate
Not Vorbis
Bad Header
etc

Similar errors can be reported for the other decoders.

What do you guys think?
Comment 1 Alan Young 2009-01-24 07:04:12 UTC
Good idea.
Comment 2 Andy Grundman 2009-01-24 08:20:21 UTC
r5495.
Comment 3 James Richardson 2009-06-17 09:36:32 UTC
This bug has been fixed in the 7.3.3 release version of SqueezeCenter!

If you haven't already. please download the new version from http://www.logitechsqueezebox.com/support/download-squeezecenter.html 

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.