Triode wrote:
> Priority is the SCHED_FIFO priority value - so it will only work if you
> are able to set sched fifo (needs the kernel to support and the user to
> be allowed to use it). If you start with "-d output=debug" you will see
> if it has taken any effect. Unless you have tuned lots of other
> processes for this, suggest you just try running as root to get the
> default value of this (45).
OK. What I now get is as below for command
Code:
--------------------
gksudo "/home/xxx/Music/squeezelite-x86-64 -a 30 -o hw:DAC,DEV=0 -n
Desktop-Lite -r 192000 -f /var/log/squeezelite/squeezelite.log -p 30 -d
output=debug"
--------------------
Further, every time I get a dropout I get one of the
"SNDRV_PCM_IOCTL_DELAY" failed errors.
Code:
--------------------
[15:46:44.845338] output_init:1305 init output
[15:46:44.845533] output_init:1308 outputbuf size: 3528000
[15:46:44.845572] output_init:1340 requested buffer_time: 30000 period_count:
4 format: any mmap: 1
[15:46:44.845592] output_init:1366 output: hw:DAC,DEV=0 maxrate: 192000
[15:46:44.850207] output_init:1376 memory locked
[15:46:44.857029] output_init:1399 set output sched fifo rt: 30
[15:46:45.172494] output_thread:583 open output device: hw:DAC,DEV=0
[15:46:45.172724] alsa_open:269 opened device hw:DAC,DEV=0 using format:
S32_LE sample rate: 44100 mmap: 1
[15:46:45.172771] alsa_open:317 buffer time: 30022 period count: 4 buffer
size: 1324 period size: 331
[15:46:45.623659] ALSA snd_pcm_hw_start:587 SNDRV_PCM_IOCTL_START failed (-32)
[15:46:45.641424] output_thread:773 track start sample rate: 44100
replay_gain: 0
[15:48:11.997799] ALSA snd_pcm_hw_delay:514 SNDRV_PCM_IOCTL_DELAY failed (-32)
[15:48:11.997906] output_thread:594 XRUN
[15:48:12.007385] ALSA snd_pcm_hw_start:587 SNDRV_PCM_IOCTL_START failed (-32)
[15:48:23.816446] ALSA snd_pcm_hw_start:587 SNDRV_PCM_IOCTL_START failed (-32)
--------------------
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix