Hi @maximtrp.
I am configuring Raspotify + SpectrumLED but I am not detecting the device out.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: VX1 [VX1], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
asound.conf
pcm.!default {
type plug
playback.pcm "out"
capture.pcm "loopin"
}
pcm.out {
type plug
slave.pcm {
type multi
slaves {
a { channels 2 pcm "output" }
b { channels 2 pcm "loopout" }
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
}
pcm.loopout {
type dmix
ipc_key 1025
slave.pcm "hw:0,0,0"
slave {
period_time 0
period_size 1024
buffer_size 8192
channels 2
}
bindings {
0 0
1 1
}
}
pcm.loopin {
type plug
slave.pcm "hw:0,1,0"
}
pcm.output {
type dmix
ipc_key 1024
slave.pcm "hw:1,0"
slave {
period_time 0
period_size 1024
buffer_size 16384
channels 2
}
bindings {
0 0
1 1
}
}
With librepot I can detect the available devices, but it is not out.
$ librespot --name cubex --backend alsa --device ?
[2020-04-23T20:01:03Z INFO librespot] librespot (raspotify v0.14.0) 3672214 (2020-01-30). Built on 2020-02-16. Build ID: 7pZDdYUK
[2020-04-23T20:01:03Z INFO librespot_playback::audio_backend::alsa] Using alsa sink
Listing available alsa outputs
pcm devices:
sysdefault:CARD=VX1
VX1, USB Audio
Default Audio Device
front:CARD=VX1,DEV=0
VX1, USB Audio
Front speakers
surround21:CARD=VX1,DEV=0
VX1, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=VX1,DEV=0
VX1, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=VX1,DEV=0
VX1, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VX1,DEV=0
VX1, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VX1,DEV=0
VX1, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VX1,DEV=0
VX1, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=VX1,DEV=0
VX1, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=VX1,DEV=0
VX1, USB Audio
Direct sample mixing device
dsnoop:CARD=VX1,DEV=0
VX1, USB Audio
Direct sample snooping device
hw:CARD=VX1,DEV=0
VX1, USB Audio
Direct hardware device without any conversions
plughw:CARD=VX1,DEV=0
VX1, USB Audio
Hardware device with all software conversions
ctl devices:
hwdep devices:
What can be missing in my configuration?