Hi Guys,
I tried to use two 7.1 sound cards with some more squeezelite instances
with pcP 6.0.0-b7 on RPI4 but when I want to start a new instance over
ssh with the following code nothing happens.
Code:
--------------------
sudo /usr/local/bin/squeezelite -n "piCorePlayer2" -o stereofront1 -a
80:::0: -m ab:cd:ef:12:34:61 -z
--------------------
but when I put the same SD Card in a RPI3B+ with the same sound-cards it
works fine and I can use several squeezelite instances on the PI.
does someone else also have this problem and/or have a solution?
here is my asound.config:
Code:
--------------------
#
## Channel splitting your UA0099 USB sound card to get up to four
## independent stereo outputs (...and more )
###
## stereofront = the FRONT labeled green jack
## stereosurround = the SURROUND labeled black jack
## stereocenter = the CENTER / BASS labeled yellow jack
## stereoback = the BACK labeled black jack
## stereoall = all stereo outputs
##
## for up to eight mono output channels use:
##
## monofrontl = the FRONT labeled green jack - tip
## monofrontr = the FRONT labeled green jack - ring
## monosurroundl = the SUROUND labeled black jack - tip
## monosurroundr = the SUROUND labeled black jack - ring
## monocenterl = the CENTER / BASS labeled yellow jack - tip
## monocenterr = the CENTER / BASS labeled yellow jack - ring
## monobackl = the BACK labeled black jack - tip
## monobackr = the BACK labeled black jack - ring
###
#########################################################################
## labels and colors could be different for differnt vendors or
## versions of the device (Logilink, Sewell, Sweex, ...)
#########################################################################
## put this file into your /ect/asound.conf
#########################################################################
# pcm.pcpinput { #Line Input Streamer
# type plug
# slave.pcm "hw:1,0"
#}
pcm.sndcard1 { # alias for sound card 1
type hw # must be hw in our case
card 1 # check your correct card number by typing
device 0 # 'aplay -l' in your terminal
} # the 1st usb card on the Raspi shows as
# card 1: Device [USB Sound Device], device 0: USB Audio [USB Audio]
ctl.sndcard1 {
type hw
card 1
device 0
}
pcm.sndcard2 { # alias for sound card 2
type hw
card 2
device 0
}
ctl.sndcard2 {
type hw
card 2
device 0
}
pcm.dmixer1 {
type dmix
ipc_key 1024 # must be unique number on your system
ipc_perm 0666 # neccesary for normal user to have access
slave.pcm "sndcard1"
slave {
period_time 0
period_size 1024
buffer_size 4096
rate 44100
channels 8
}
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}
pcm.dmixer2 {
type dmix
ipc_key 1024 # must be unique number on your system
ipc_perm 0666 # neccesary for normal user to have access
slave.pcm "sndcard2"
slave {
period_time 0
period_size 1024
buffer_size 4096
rate 44100
channels 8
}
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}
pcm.out {
type plug
slave.pcm {
type multi
slaves {
a {
channels 8
pcm "dmixer1"
}
b {
channels 8
pcm "dmixer2"
}
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave a channel 2 }
3 { slave a channel 3 }
4 { slave a channel 4 }
5 { slave a channel 5 }
6 { slave a channel 6 }
7 { slave a channel 7 }
8 { slave b channel 0 }
9 { slave b channel 1 }
10 { slave b channel 2 }
11 { slave b channel 3 }
12 { slave b channel 4 }
13 { slave b channel 5 }
14 { slave b channel 6 }
15 { slave b channel 7 }
}
}
}
pcm.!default {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
ttable.0.6 1
ttable.1.7 1
ttable.0.8 1
ttable.1.9 1
ttable.0.10 1
ttable.1.11 1
ttable.0.12 1
ttable.1.13 1
ttable.0.14 1
ttable.1.15 1
}
#Soundkarte 1
pcm.stereofront1 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.0 1
ttable.1.1 1
}
pcm.stereocenter1 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.2 1
ttable.1.3 1
}
pcm.stereoback1 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.4 1
ttable.1.5 1
}
pcm.stereosurround1 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.6 1
ttable.1.7 1
}
pcm.stereoall1 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.0 1 # input left and right to all 4 l+r outputs
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
ttable.0.6 1
ttable.1.7 1
}
pcm.monofrontl1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.0 1 # in-channel 0, out-channel 0, 100% volume
ttable.1.0 1 # in-channel 1, out-channel 0, 100% volume
}
pcm.monofrontr1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.1 1
ttable.1.1 1
}
pcm.monocenterl1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.2 1
ttable.1.2 1
}
pcm.monocenterr1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.3 1
ttable.1.3 1
}
pcm.monobackl1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.4 1
ttable.1.4 1
}
pcm.monobackr1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.5 1
ttable.1.5 1
}
pcm.monosurroundl1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.6 1
ttable.1.6 1
}
pcm.monosurroundr1 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.7 1
ttable.1.7 1
}
# Soundkarte 2
pcm.stereofront2 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.8 1
ttable.1.9 1
}
pcm.stereocenter2 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.10 1
ttable.1.11 1
}
pcm.stereoback2 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.12 1
ttable.1.13 1
}
pcm.stereosurround2 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.14 1
ttable.1.15 1
}
pcm.stereoall2 {
type plug
slave {
pcm "out"
channels 16
}
ttable.0.8 1 # input left and right to all 4 l+r outputs
ttable.1.9 1
ttable.0.10 1
ttable.1.11 1
ttable.0.12 1
ttable.1.13 1
ttable.0.14 1
ttable.1.15 1
}
pcm.monofrontl2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.8 1 # in-channel 0, out-channel 0, 100% volume
ttable.1.8 1 # in-channel 1, out-channel 0, 100% volume
}
pcm.monofrontr2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.9 1
ttable.1.9 1
}
pcm.monocenterl2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.10 1
ttable.1.10 1
}
pcm.monocenterr2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.11 1
ttable.1.11 1
}
pcm.monobackl2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.12 1
ttable.1.12 1
}
pcm.monobackr2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.13 1
ttable.1.13 1
}
pcm.monosurroundl2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.14 1
ttable.1.14 1
}
pcm.monosurroundr2 {
type route
slave {
pcm "out"
channels 16
}
ttable.0.15 1
ttable.1.15 1
}
--------------------
------------------------------------------------------------------------
Hewi's Profile: http://forums.slimdevices.com/member.php?userid=69574
View this thread: http://forums.slimdevices.com/showthread.php?t=110727
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix