SamS wrote: 
> Thanks Ronnie.
> 
> I typically use my Pi via HDMI to a Denon receiver. I'll try those
> settings you suggested.

This is on the Raspberry PI OS Bullseye Lite OS


I don't have a receiver but I do have my TV hooked up to Active
speakers.

I use an old Quad  CDP as a pre-amp connected to the TV Optical output.

I plugged in the rpi to the TV and (on the second configuarion of
squeezelite) I have music playing thtough the Mackies


Code:
--------------------
    pi@raspberrypi:~ $ sudo service squeezelite stop
  pi@raspberrypi:~ $ alsacap
  *** Scanning for playback devices ***
  Card 0, ID `Headphones', name `bcm2835 Headphones'
  Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 8 subdevices (8 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  Subdevice 4, name `subdevice #4'
  Subdevice 5, name `subdevice #5'
  Subdevice 6, name `subdevice #6'
  Subdevice 7, name `subdevice #7'
  Card 1, ID `vc4hdmi', name `vc4-hdmi'
  Device 0, ID `MAI PCM i2s-hifi-0', name `MAI PCM i2s-hifi-0', 1 subdevices (1 
available)
  2 channels, sampling rate 32000..48000 Hz
  Sample formats: IEC958_SUBFRAME_LE
  Subdevice 0, name `subdevice #0'
--------------------




Code:
--------------------
    pi@raspberrypi:~ $ squeezelite -l
  Output devices:
  null                           - Discard all samples (playback) or generate 
zero samples (capture)
  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
  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
  hw:CARD=vc4hdmi,DEV=0          - vc4-hdmi, MAI PCM i2s-hifi-0 - Direct 
hardware device without any conversions
  plughw:CARD=vc4hdmi,DEV=0      - vc4-hdmi, MAI PCM i2s-hifi-0 - Hardware 
device with all software conversions
  default:CARD=vc4hdmi           - vc4-hdmi, MAI PCM i2s-hifi-0 - Default Audio 
Device
  sysdefault:CARD=vc4hdmi        - vc4-hdmi, MAI PCM i2s-hifi-0 - Default Audio 
Device
  hdmi:CARD=vc4hdmi,DEV=0        - vc4-hdmi, MAI PCM i2s-hifi-0 - HDMI Audio 
Output
  dmix:CARD=vc4hdmi,DEV=0        - vc4-hdmi, MAI PCM i2s-hifi-0 - Direct sample 
mixing device
  
--------------------



I used "sysdefault:CARD=vc4hdmi" for audio output


Code:
--------------------
    # Defaults for squeezelite initscript
  # sourced by /etc/init.d/squeezelite
  # installed at /etc/default/squeezelite by the maintainer scripts
  
  # The name for the squeezelite player:
  SL_NAME="$(hostname -s)"
  
  # ALSA output device:
  SL_SOUNDCARD="sysdefault:CARD=vc4hdmi"
  
  # Squeezebox server (Logitech Media Server):
  # Uncomment the next line if you want to point squeezelite at the IP address 
of
  # your squeezebox server. This is usually unnecessary as the server is
  # automatically discovered.
  #SB_SERVER_IP="192.168.x.y"
  
  # Additional options to pass to squeezelite:
  # Please do not include -z to make squeezelite daemonise itself.
  #SB_EXTRA_ARGS=""
  
--------------------


Hope this helps 

ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to