For one of my devices I'm using C-3PO to transcode to 48000 pcm in all
cases.  It's headphones connected via USB (and alsa) to a laptop running
sequeezelite (a fairly recent ralphy - v1.8.7-1083).  For some reason
the headphones don't like other sample rates, so the squeezelite (with
-W) is set to only accept 48000:48000 and C-3PO supplies it (as below). 
This all works well.


Code:
--------------------
    
  flc-pcm-*-00:00:00:00:00:90
  [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 65536 --multi-threaded - rate -h -I -b 90.7 48000
  "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- 
"/storage/music/flac/Classical/S/Strauss, R/Four Last Songs/Schwarzkopf 
Ackermann/1-07 - Four Last Songs No.4 Op.posth - Im Abendrot.flac" | 
"/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -b 24 
--buffer 65536 --multi-threaded - rate -h -I -b 90.7 48000 & |
  
--------------------


However, I noticed that the CPU load on my server is very high indeed. 
C3PO/sox takes a little over 50% of my "Intel(R) Atom(TM) CPU D525 @
1.80GHz, 4 cores" (i.e. the equivalent of 2 cores flat out) for almost
the whole length of even a short track.  As I said, it all works, but it
does seem a little marginal.

BUT - Having written the above I thought I should check sox.  I found
that an update to LMS had overwritten your version of sox, so I've
replaced it again with version v14.4.2, and the load seems lower, for a
shorter period of time, and single-threaded, even though I have ticked
the multi-thread option. Does any of that make any sense?
.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

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

Reply via email to