Triode wrote:
> What happens if you use hw:CARD=DAC,DEV=0 or plughw:CARD=DAC,DEV=0?
>
> The actual error comes from the point where setting the buffer occurs,
> so you could also try changing the -a options to see if different buffer
> times (the first param) helps. However I suspect using plughw may also
> help?
hw: produces sound (not good)
Code:
--------------------
prades:~# nice -n -5 /usr/local/bin/squeezelite-i386 -n Prades -b
16384:16384 -o hw:CARD=DAC,DEV=0 -a 8:4::1 -d output=debug 172.17.255.45
[20:05:55.025023] output_init:1265 init output
[20:05:55.026565] output_init:1268 outputbuf size: 16777216
[20:05:55.027157] output_init:1298 requested buffer_time: 8000 period_count:
4 format: any mmap: 1
[20:05:55.042326] output_init:1320 output: hw:CARD=DAC,DEV=0 maxrate: 96000
[20:05:55.042624] output_thread:562 open output device: hw:CARD=DAC,DEV=0
[20:05:55.043714] alsa_open:257 opened device hw:CARD=DAC,DEV=0 using format:
S24_3LE sample rate: 44100 mmap: 1
[20:05:55.043987] alsa_open:305 buffer time: 7981 period count: 4 buffer
size: 352 period size: 88
[20:06:35.396971] output_flush:1345 flush output buffer
[20:06:35.445539] output_flush:1345 flush output buffer
[20:06:36.095939] output_thread:748 track start sample rate: 88200
replay_gain: 0
[20:06:36.096079] output_thread:562 open output device: hw:CARD=DAC,DEV=0
[20:06:36.099973] alsa_open:236 reopening device hw:CARD=DAC,DEV=0 in plug
mode as plughw:CARD=DAC,DEV=0 for resampling
[20:06:36.106527] alsa_open:257 opened device plughw:CARD=DAC,DEV=0 using
format: S24_3LE sample rate: 88200 mmap: 1
[20:06:36.108259] alsa_open:305 buffer time: 8004 period count: 4 buffer
size: 706 period size: 176
[20:06:36.563656] output_thread:1084 mmap_commit error
[20:06:36.563786] output_thread:573 XRUN
[20:06:37.322222] output_thread:1084 mmap_commit error
[20:06:37.322345] output_thread:573 XRUN
--------------------
plughw: produces normal sound (it seems)
Code:
--------------------
prades:~# nice -n -5 /usr/local/bin/squeezelite-i386 -n Prades -b
16384:16384 -o plughw:CARD=DAC,DEV=0 -a 8:4::1 -d output=debug 172.17.255.45
[20:08:20.075810] output_init:1265 init output
[20:08:20.077561] output_init:1268 outputbuf size: 16777216
[20:08:20.078474] output_init:1298 requested buffer_time: 8000 period_count:
4 format: any mmap: 1
[20:08:20.094408] output_init:1320 output: plughw:CARD=DAC,DEV=0 maxrate:
192000
[20:08:20.095306] output_thread:562 open output device: plughw:CARD=DAC,DEV=0
[20:08:20.099519] alsa_open:257 opened device plughw:CARD=DAC,DEV=0 using
format: S32_LE sample rate: 44100 mmap: 1
[20:08:20.100980] alsa_open:305 buffer time: 7981 period count: 4 buffer
size: 352 period size: 88
[20:08:30.836287] output_flush:1345 flush output buffer
[20:08:31.303638] output_thread:748 track start sample rate: 88200
replay_gain: 0
[20:08:31.303786] output_thread:562 open output device: plughw:CARD=DAC,DEV=0
[20:08:31.310184] alsa_open:257 opened device plughw:CARD=DAC,DEV=0 using
format: S32_LE sample rate: 88200 mmap: 1
[20:08:31.312016] alsa_open:305 buffer time: 8004 period count: 4 buffer
size: 706 period size: 176
^C[20:08:42.940384] output_close:1357 close output
--------------------
aplay -L/squeezelite -l don't show either hw: or plughw: as available
devicesÂ…
Code:
--------------------
prades:~# squeezelite-i386 -l
Output devices:
null - Discard all samples (playback) or generate
zero samples (capture)
sysdefault:CARD=DAC - HiFimeDIY DAC, USB Audio - Default Audio
Device
front:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - Front speakers
surround40:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - 4.0 Surround
output to Front and Rear speakers
surround41:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - 4.1 Surround
output to Front, Rear and Subwoofer speakers
surround50:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - 5.0 Surround
output to Front, Center and Rear speakers
surround51:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - 5.1 Surround
output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - 7.1 Surround
output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DAC,DEV=0 - HiFimeDIY DAC, USB Audio - IEC958 (S/PDIF)
Digital Audio Output
--------------------
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix