bpa wrote: > DEV=1 or 2 often means a digital output such as SPDIF or HDMI and so > nothing will happen on analog. > > "hw:" means only the hardware supported samplerate/sampleformats will be > sent - so LMS will have to resample/trasncode as required. > > "plughw" means ALSA will support all data rate and will process audio > stream into a format suitable for the hardware rather than LMS or > squeezelite. Often "plughw" devices have more successful outcomes > rather than "hw" especially if user disables certain LMS capabilties.
Hm - I just did a full_upgrade on my Raspberry and Squeezelite no longer seems to load. I ran squeezelite -l, and the output devices seem to have changed, and ALSA replaced with "b1" Output devices: default - Playback/recording through the PulseAudio sound server null - Discard all samples (playback) or generate zero samples (capture) jack - JACK Audio Connection Kit pulse - PulseAudio Sound Server plugequal equal sysdefault:CARD=b1 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default Audio Device dmix:CARD=b1,DEV=0 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct sample mixing device dsnoop:CARD=b1,DEV=0 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct sample snooping device hw:CARD=b1,DEV=0 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct hardware device without any conversions plughw:CARD=b1,DEV=0 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Hardware device with all software conversions usbstream:CARD=b1 - bcm2835 HDMI 1 - USB Stream Output sysdefault:CARD=Headphones - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device dmix:CARD=Headphones,DEV=0 - bcm2835 Headphones, bcm2835 Headphones - Direct sample mixing device dsnoop:CARD=Headphones,DEV=0 - bcm2835 Headphones, bcm2835 Headphones - Direct sample snooping device hw:CARD=Headphones,DEV=0 - bcm2835 Headphones, bcm2835 Headphones - Direct hardware device without any conversions plughw:CARD=Headphones,DEV=0 - bcm2835 Headphones, bcm2835 Headphones - Hardware device with all software conversions usbstream:CARD=Headphones - bcm2835 Headphones - USB Stream Output So I edited /etc/systemd/system/squeezelite.service to ExecStart=/usr/bin/squeezelite -o plughw:CARD=b1,DEV=0 -n Pi_SqueezeliteService -C 5 (previously squeezelite -o plughw:CARD=ALSA,DEV=0 -n Pi_SqueezeliteService -C 5 -d) Now the service starts, and I can see Pi_SqueezeliteService in my list of players in LMS. But no sound comes out of the Pi's headphone jack. Any idea why not? I can mess around and see what works, but it would be good to get the correct device as bpa mentioned using the incorrect device can cause strange streaming issues if not careful. SB3 -> Quad 909 -> Quad Electrostatic speakers, Quad 405 -> TBI subwoofer 3 x SB3s + SB Radio LMS on Raspbian on a Pi4 Rotel RSP1068 surround processor, Quad 707 -> B&W surround ------------------------------------------------------------------------ rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517 View this thread: http://forums.slimdevices.com/showthread.php?t=112025 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
