Here is the result so far...
1) Raspberry Pi OS with desktop Jan 11/21 installed WITHOUT updates at
initial configuration (only set locale info, no wi-fi, no updates)
2) from terminal window:
Code:
--------------------
sudo apt-get -y update && sudo apt-get -y dist-upgrade
echo "unset autoindent" >> ~/.nanorc
sudo nano /etc/hostname #(set to rPi4)
sudo nano /etc/hosts
--------------------
-rebooted-
-skipped wi-fi setup-
Code:
--------------------
sudo alsamixer *#set to full volume on -1 bcm2835 Headphones-*
sudo apt-get install -y libflac-dev libfaad2 libmad0
cd
mkdir squeezelite
cd squeezelite
wget -O squeezelite-armv6hf.tar.gz
https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.9.8.1344-armhf.tar.gz
*#latest version*
tar -xvzf squeezelite-armv6hf.tar.gz
mv squeezelite squeezelite-armv6hf
sudo mv squeezelite-armv6hf /usr/bin
sudo chmod a+x /usr/bin/squeezelite-armv6hf
sudo /usr/bin/squeezelite-armv6hf -l
--------------------
then ran
Code:
--------------------
sudo /usr/bin/squeezelite-armv6hf -l
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
default:CARD=b1 - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default
Audio Device
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
default:CARD=Headphones - bcm2835 Headphones, bcm2835 Headphones -
Default Audio Device
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
--------------------
To test output off audio jack using a powered speaker
Code:
--------------------
sudo /usr/bin/squeezelite-armv6hf -o sysdefault:CARD=Headphones
--------------------
I could see the instance of the player, and that it was the correct
version 1.9.8-1344, in the LMS but this resulted in no audio.
Next I tried simply
Code:
--------------------
sudo /usr/bin/squeezelite-armv6hf
--------------------
Success! Audio output.
Then I tried with *hw:CARD=Headphones,DEV=0* and all of the other
"bcm2835 Headphones" devices and either got no sound or various error
messages.
So, the things that I have noted are:
- *Man in a van*'s tutorial is using Raspian Lite and I have been
using Raspian OS with Desktop.
- I have noticed an oddity in the result of the output from the *sudo
/usr/bin/squeezelite-armv6hf -l* command. When I issue that command
in a terminal window on the pi desktop, the device "default" is at the
top of the list, referring to PulseAudio. When I ssh to the pi, the
same command does NOT show this first line of a "default" device,
rather the first device listed is "null". I'm not sure if this is
significant.
- The other difference is that *Man in a van*'s tutorial shows that
his audio devices are listing as *CARD=ALSA* rather than the
*CARD=Headphone* that I am seeing.
I believe this last point to be the most important. I'm not sure if it
is related to the first point (ie the OS difference). I have seen some
info about PulseAudio but don't know enough about it to judge its impact
in this situation. In order to explore this further I'm going to burn
another fresh image, this time with Raspian Lite and go through this
process again.
As before, I'll report back
------------------------------------------------------------------------
ryandkg's Profile: http://forums.slimdevices.com/member.php?userid=71415
View this thread: http://forums.slimdevices.com/showthread.php?t=113867
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins