Nerdwebber wrote: 
> Thanks to you all for trying to helping me out.
> 
> This is what I get:
> 
> tc@box:~$ cat /proc/asound/card0/pcm0p/sub0/hw_params
> access: MMAP_INTERLEAVED
> format: S16_LE
> subformat: STD
> channels: 2
> rate: 48000 (48000/1)
> period_size: 1024
> buffer_size: 16384
> tc@box:~$
> 
> Does this mean that my DAC plays in 16b 48K?
> But how do I get 24b96K then?
> Greetz Willem

Correct.  You are in 16 bit mode. Back up one page and look at patap's
answer to me asking the same question.

Basically you have to tell the card to run in 24_3 when squeezelite
starts.  

I put this command in my /etc/rc.local and then commented everything out
in /etc/default/squeezelite

squeezelite -n UpSqueeze -o hw:CARD=DAC,DEV=0 -a 20:4:24_3:1 -d
all=debug

Then I made a file:

nano /root/check_services

Pasted this in:

/usr/bin/pgrep squeezelite || squeezelite -n UpSqueeze -o
hw:CARD=DAC,DEV=0 -a 20:4:24_3:1 -d all=debug

Then did a

chmod 700 /root/check_services

Then do 

crontab -e

Add this

*/5 * * * * /bin/bash /root/check_services

That will check every 5 minutes to see if the squeezelite process is up
and if it isn't it will restart it.

I've found I can keep my headless player up without rebooting like this
because sometimes Squeezelite will die.  I think it has to do with the
Raspberry Pi and USB issues that haven't been resolved.  For example I
woke up this morning and top revealed squeezelite had only been up 35
minutes.


John


------------------------------------------------------------------------
hagensieker's Profile: http://forums.slimdevices.com/member.php?userid=59959
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