forked from abrasive/shairport
-
-
Notifications
You must be signed in to change notification settings - Fork 637
Closed as not planned
Closed as not planned
Copy link
Labels
Description
What happened?
Hey @mikebrady ,
what a great piece of Software. I currently testing multiple instances (which are working fine - even with Airplay 2) see here.
The Problem for me now is:
I can't mix two Instances of Shairport into one Stereo Signal which is sent to the DAC (Hifiberry HAT).
Here is the Alsaconfig:
# virtual device 1 (routed to left schannel)
pcm.virtual1 {
type plug
slave.pcm "dmix_left"
}
# virtual device 2 (routed to right channel)
pcm.virtual2 {
type plug
slave.pcm "dmix_right"
}
# Dmix for left channel
pcm.dmix_left {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
channels 2
}
bindings {
0 0 # left channel
}
}
# Dmix for right channel
pcm.dmix_right {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
channels 2
}
bindings {
1 1 # Right Channel
}
}
Relevant log output
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.000982343 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.012397657 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.001334895 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.022532240 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.001219740 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.001140156 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.021944635 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.001030365 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instance
0.000668906 "player.c:2713" Delay error -22 when checking running latency.
ALSA lib pcm_direct.c:2194:(_snd_pcm_direct_new) unable to create IPC shm instanceSystem Information.
Raspberry PI OS Lite 64Bit Linux raspberry 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
Configuration Information.
Every default except for output device and port (increased by one for the second instance) and the Airplay Offset ID (also increased by one).
Build with Alsa and Airplay 2 from your documentation.PulseAudio or PipeWire installed?
- Check if your system uses a Sound Server.
How did you install Shairport Sync?
Built from source
Check previous issues
- Confirm
Reactions are currently unavailable