Bug 12778 - MP3 streams produce no audio
: MP3 streams produce no audio
Status: CLOSED FIXED
Product: SB Radio
Classification: Unclassified
Component: Audio
: Include FW version in comment
: PC All
: P2 normal (vote)
: CAT
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-10 13:46 UTC by James Richardson
Modified: 2009-10-06 09:21 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Richardson 2009-07-10 13:46:13 UTC
r6510 breaks Sounds and Effects either connected to SN or SC -- some MP3 streams fail to play as well

r6372 works
Comment 1 Richard Titmuss 2009-07-10 13:49:50 UTC
It seems to be a race condition, or some intermittent fault. Sound effect produce this error:

20090710 20:36:13.890 ERROR  squeezeplay.task - Task.lua:74 task error SocketTcp {SlimProto}(R): ...-fab4/build/linux/share/jive/jive/audio/Playback.lua:506: attempt to index field 'stream' (a nil value)
stack traceback:
	...ezeplay-fab4/build/linux/share/jive/jive/ui/Task.lua:74: in function 'resume'
	...ay-fab4/build/linux/share/jive/jive/ui/Framework.lua:316: in function 'eventLoop'
	...zeplay-fab4/build/linux/share/jive/jive/JiveMain.lua:412: in function <...zeplay-fab4/build/linux/share/jive/jive/JiveMain.lua:262>
	(tail call): ?
	...zeplay-fab4/bu
Comment 2 Richard Titmuss 2009-07-14 04:25:20 UTC
Fixed SN Sounds and Effects in r6550. I need to test mp3 streams.
Comment 3 James Richardson 2009-07-14 11:51:47 UTC
A few of the sounds will not play the first time in r6537, if click play a few times, they will eventually start
Comment 4 Richard Titmuss 2009-07-14 12:50:07 UTC
This stream fails: http://opml.radiotime.com/Tune.ashx?id=s35159&partnerId=16

This is the error:
Plug PCM: Squeezebox Radio Plugin
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 32
  buffer_size  : 1440
  period_size  : 480
  period_time  : 10000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 480
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1440
  silence_threshold: 0
  silence_size : 0
  boundary     : 1509949440
Slave: Hardware PCM card 0 'baby' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S24_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 32
  buffer_size  : 1440
  period_size  : 480
  period_time  : 10000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 480
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1440
  silence_threshold: 0
  silence_size : 0
  boundary     : 1509949440
OPEN took too long 134.164 ms
Pagefaults, Major:0 Minor:3
20090714 20:46:42.834 DEBUG  audio.output - decode_alsa_resume:42 decode_alsa_resume
copyright not asserted
AIC3104 WRITE 43: 00000080
AIC3104 WRITE 44: 00000080
AIC3104 WRITE 43: 00000080
AIC3104 WRITE 44: 00000080
AIC3104 WRITE 43: 00000080
Unable to set  buffer time Invalid argument
AIC3104 WRITE 44: 00000080
Open failed: Invalid argument
Audio thread exited
Comment 6 Richard Titmuss 2009-07-16 08:44:24 UTC
Fixed in r6611. It turns out a 11025 sample rate caused the alsa code to crash. Other sample rates may have been effected too.

Only one of the streams in this bug works today, but the fix has been confirmed with that stream.
Comment 7 James Richardson 2009-10-06 09:21:59 UTC
This bug has been fixed in the latest release of MySqueezebox.com (formally
known as SqueezeNetwork)!

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