Gian,
I wonder if you've made any progress in tracking down your problem. Just
to satisfy myself, I installed Ubuntu 14.04 LTS Desktop in VirtualBox
and attached my external USB DAC to the virtual machine.
During the install I elected to include 3rd party software and updates.
After the install I added the squeezelite package from the command
line:
Code:
--------------------
sudo apt-get install squeezelite
--------------------
Checked what sound devices existed on the system:
Code:
--------------------
chris@U14-VirtualBox:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 1: STAC9221 A1 Digital [STAC9221 A1
Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
--------------------
and
Code:
--------------------
chris@U14-VirtualBox:~$ squeezelite -l
Output devices:
default - Playback/recording through the PulseAudio
sound server
null - Discard all samples (playback) or generate
zero samples (capture)
pulse - PulseAudio Sound Server
sysdefault:CARD=Intel - HDA Intel, STAC9221 A1 Analog - Default
Audio Device
front:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - Front
speakers
surround40:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - 4.0 Surround
output to Front and Rear speakers
surround41:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - 4.1 Surround
output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - 5.0 Surround
output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - 5.1 Surround
output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - 7.1 Surround
output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Digital - IEC958
(S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - Direct
sample mixing device
dmix:CARD=Intel,DEV=1 - HDA Intel, STAC9221 A1 Digital - Direct
sample mixing device
dmix:CARD=Intel,DEV=2 - HDA Intel, STAC9221 A1 Alt Analog - Direct
sample mixing device
dsnoop:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - Direct
sample snooping device
dsnoop:CARD=Intel,DEV=1 - HDA Intel, STAC9221 A1 Digital - Direct
sample snooping device
dsnoop:CARD=Intel,DEV=2 - HDA Intel, STAC9221 A1 Alt Analog - Direct
sample snooping device
hw:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - Direct
hardware device without any conversions
hw:CARD=Intel,DEV=1 - HDA Intel, STAC9221 A1 Digital - Direct
hardware device without any conversions
hw:CARD=Intel,DEV=2 - HDA Intel, STAC9221 A1 Alt Analog - Direct
hardware device without any conversions
plughw:CARD=Intel,DEV=0 - HDA Intel, STAC9221 A1 Analog - Hardware
device with all software conversions
plughw:CARD=Intel,DEV=1 - HDA Intel, STAC9221 A1 Digital - Hardware
device with all software conversions
plughw:CARD=Intel,DEV=2 - HDA Intel, STAC9221 A1 Alt Analog - Hardware
device with all software conversions
sysdefault:CARD=CODEC - USB Audio CODEC, USB Audio - Default Audio
Device
front:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - Front speakers
surround40:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - 4.0 Surround
output to Front and Rear speakers
surround41:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - 4.1 Surround
output to Front, Rear and Subwoofer speakers
surround50:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - 5.0 Surround
output to Front, Center and Rear speakers
surround51:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - 5.1 Surround
output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - 7.1 Surround
output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - IEC958 (S/PDIF)
Digital Audio Output
dmix:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - Direct sample
mixing device
dsnoop:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - Direct sample
snooping device
hw:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - Direct hardware
device without any conversions
plughw:CARD=CODEC,DEV=0 - USB Audio CODEC, USB Audio - Hardware device
with all software conversions
--------------------
Edited /etc/default/squeezelite
Code:
--------------------
chris@U14-VirtualBox:~$ cat /etc/default/sysconfig
cat: /etc/default/sysconfig: No such file or directory
chris@U14-VirtualBox:~$ cat /etc/default/squeezelite
# 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="*plughw:CARD=CODEC,DEV=0*"
# 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 80:40::0"
--------------------
I choose *plughw:CARD=CODEC,DEV=0* as the sound device to allow for
possible rate conversion by ALSA, like your KingRex, my USB DAC is only
16bit upto 48KHz, and then restarted the squeezelite service:
Code:
--------------------
sudo service squeezelite start
--------------------
and checked it was running:
Code:
--------------------
chris@U14-VirtualBox:~$ ps aux | grep [s]queezelite
root 3889 5.5 3.8 285312 39656 ? SLl 09:27 0:03
/usr/bin/squeezelite -n U14-VirtualBox -o hw:CARD=CODEC,DEV=0 -a 80 40 0
--------------------
My version of LMS is: Logitech Media Server Version: 7.8.0 - 1384496306
@ Sat Nov 16 19:06:17 PST 2013
I played radio stations needing mp3 and AAC, and 16/44 resolution FLAC
audio files.
I was not able to re-produce your error. Pulseaudio does not appear to
be a problem. Perhaps your debug log will offer some clues.
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101436
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins