Triode wrote: 
> So looks like in the squeezelite case resampling to 48000 is occuring,
> but not in the squeezeslave case.  Can you post what the "-d
> output=debug" is for squeezelite, what happens if you change the output
> device to hw:CARD=X?

Using my normal output setting based on the -l output:

root@squeezeplug:~# squeezelite -o sysdefault:CARD=Audio -a 200:8 -d
output=debug
[23:47:16.662386] output_init:1219 init output
[23:47:16.665098] output_init:1222 outputbuf size: 3528000
[23:47:16.728300] output_init:1261 output: sysdefault:CARD=Audio
maxrate: 192000
[23:47:16.730253] output_thread:544 open output device:
sysdefault:CARD=Audio
[23:47:16.749361] alsa_open:253 opened device sysdefault:CARD=Audio
using format: S32_LE sample rate: 44100
[23:47:16.750723] alsa_open:297 buffer time: 170657 period count: 8
buffer size: 7526 period size: 940
[23:47:16.936537] output_thread:624 disabling output

using hw:CARD=Audio (sounds worse - more pop and crackle):

root@squeezeplug:~# squeezelite -o hw:CARD=Audio -d output=debug
[23:52:04.112716] output_init:1219 init output
[23:52:04.115409] output_init:1222 outputbuf size: 3528000
[23:52:04.132159] output_init:1261 output: hw:CARD=Audio maxrate: 96000
[23:52:04.134189] output_thread:544 open output device: hw:CARD=Audio
[23:52:04.136215] alsa_open:253 opened device hw:CARD=Audio using
format: S24_3LE sample rate: 44100
[23:52:04.136691] alsa_open:297 buffer time: 20045 period count: 4
buffer size: 884 period size: 221
[23:52:08.465349] output_thread:725 track start sample rate: 44100
replay_gain: 0
[23:52:21.397346] output_thread:624 disabling output

The actual DAC is capable of 24/96, which seems to be more accurately
reflected by the output when using hw:CARD=Audio, and the stream0 shows
momentary_freq as 44100, as opposed to the previously posted 48000
'upsample' when using sysdefault:CARD=Audio. Nevertheless, the latter
output has audibly less crackle...

/dom


------------------------------------------------------------------------
gh0st's Profile: http://forums.slimdevices.com/member.php?userid=49616
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to