Hello.
I need help troubleshooting squeezelite on a Raspberry Pi 4 with an Emotiva PT-100 USB DAC. It plays music up to 48k without resampling but anything over, like 96k, gets down-sampled to 48k. Below is a breakdown of what I've done to troubleshoot so far. I just can't seem to get it to work right.
I need help troubleshooting squeezelite on a Raspberry Pi 4 with an Emotiva PT-100 USB DAC. It plays music up to 48k without resampling but anything over, like 96k, gets down-sampled to 48k. Below is a breakdown of what I've done to troubleshoot so far. I just can't seem to get it to work right.
- Tried using picoreplayer and selecting the USB DAC. Plays music but resamples over 48k
- Tried using Raspbian. Plays music but resamples over 48k.
- Tried using Ubuntu server. Plays music but resamples over 48k.
- Pulseaudio is not installed.
- Stopping squeezelite and runningCode:for rate in 44100 48000 88200 96000; do speaker-test --rate $rate --period 1 --nloop 4; done
- Here are my options for playbackCode:ubuntu@ubuntu:~$ squeezelite -l
Output devices:
null - Discard all samples (playback) or generate zero samples (capture)
sysdefault - Default Audio Device
default
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
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=PT100,DEV=0 - Emotiva PT-100, USB Audio - Direct hardware device without any conversions
hw:CARD=PT100,DEV=1 - Emotiva PT-100, USB Audio #1 - Direct hardware device without any conversions
plughw:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - Hardware device with all software conversions
plughw:CARD=PT100,DEV=1 - Emotiva PT-100, USB Audio #1 - Hardware device with all software conversions
sysdefault:CARD=PT100 - Emotiva PT-100, USB Audio - Default Audio Device
front:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - Front output / input
surround21:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - 2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - 4.0 Surround output to Front and Rear speakers
surround41:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - 5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=PT100,DEV=1 - Emotiva PT-100, USB Audio #1 - IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - Direct sample mixing device
dmix:CARD=PT100,DEV=1 - Emotiva PT-100, USB Audio #1 - Direct sample mixing device
dsnoop:CARD=PT100,DEV=0 - Emotiva PT-100, USB Audio - Direct sample snooping device
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="hw:CARD=PT100,DEV=1"
# 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="-a 180"
Code:pcm.default_device {
type hw
card "PT100"
device 0
}
pcm.!default {
type plug
slave {
pcm "default_device"
}
}
ctl.!default {
type hw
card "PT100"
}
Code:defaults.ctl.card 0
defaults.pcm.card 0
Code:defaults.ctl.card 1
defaults.pcm.card 1