Triode wrote:
> Feedback format of 17.15 look a wrong - do you always see this in the
> problem case? This would indicate an alsa/dac problem.
>
> Can you confirm the output of -d output=debug when you open the problem
> stream?
Code:
--------------------
[15:40:09.361033] output_init_alsa:611 init output
[15:40:09.361697] output_init_common:316 outputbuf size: 3528000
[15:40:09.361924] output_init_alsa:634 requested alsa_buffer: 40 alsa_period:
4 format: any mmap: 1
[15:40:09.367838] output_init_alsa:648 output: hw:CARD=UD501 maxrate: 384000
[15:40:09.477538] output_init_alsa:656 memory locked
[15:40:09.478506] output_thread:464 open output device: hw:CARD=UD501
[15:40:09.478535] output_init_alsa:679 set output sched fifo rt: 45
[15:40:09.479803] alsa_open:233 opened device hw:CARD=UD501 using format:
S32_LE sample rate: 44100 mmap: 1
[15:40:09.479975] alsa_open:312 buffer: 40 period: 4 -> buffer size: 1764
period size: 441
[15:40:09.481943] ALSA snd_pcm_hw_start:588 SNDRV_PCM_IOCTL_START failed (-32)
[15:40:09.505368] output_flush:356 flush output buffer
[15:40:09.507126] output_flush:356 flush output buffer
[15:41:30.209729] output_flush:356 flush output buffer
[15:41:31.869386] _output_frames:59 start buffer frames: 10240
[15:41:31.869562] _output_frames:122 track start sample rate: 32000
replay_gain: 0
[15:41:31.869644] output_thread:464 open output device: hw:CARD=UD501
[15:41:31.887877] alsa_open:212 reopening device hw:CARD=UD501 in plug mode
as plughw:CARD=UD501 for resampling
[15:41:31.889642] alsa_open:233 opened device plughw:CARD=UD501 using format:
S32_LE sample rate: 32000 mmap: 1
[15:41:31.890227] alsa_open:312 buffer: 40 period: 4 -> buffer size: 1280
period size: 320
--------------------
I see that it does attempt to reopen the device in plug mode, but the
sound is still garbled. The stream0 file is again in that weird state I
showed before:
Code:
--------------------
Playback:
Status: Running
Interface = 1
Altset = 1
URBs = 8 [ 8 8 8 8 8 8 8 8 ]
Packet Size = 1024
Momentary freq = 191809 Hz (0x17.f9e0)
Feedback Format = 17.15
--------------------
Squeezelite doesn't see anything amiss and continues to play, but the
sound is garbled and choppy.
I am still trying to figure out whether it is the initial attempt that
resulted in SNDRV_PCM_IOCTL_START failed (-32) that caused the DAC to go
into this weird mode or the second attempt using plughw, that did so. I
suspect the latter, since when I restart squeezelite using -o
plughw:CARD=UD501 instead of the hw:CARD=UD501, I still get the same
garbled result when playing that stream.
----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=99395
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix