monitord mit ALSA dsnoop - share mic
Hallo zusammen,
hat jemand monitord mit ALSA bzw. auf einer virtuellen Kanal (ALSA dsnoop) laufen, damit man parallel zeitgleich auf den Eingang zugreifen kann und nicht folgenden Fehler bekommt:
"Fehler beim Öffnen des Gerätes: Das Gerät oder die Ressource ist belegt."
/etc/asound.conf
pcm.!default {
type plug
slave {
pcm "hw:1,0"
}
}
pcm.dsnooped {
type dsnoop
ipc_key 10242
ipc_perm 0666
slave {
pcm "hw:1,0"
channels 2
}
}
mit arecord, ffmpeg, etc. klappt der parallele zugriff, allerdings mit monitord nicht.
monitord 2.0svn running...
INFO: monitord/Monitor.cpp(217) starting soundcard #0
INFO: monitord/SndPipe.cpp(152) creating decoders for soundcard #0
INFO: monitord/SndPipe.cpp(166) creating decoder for soundcard #0R:FMS
DEBUG: monitord/MonitorModuleFMS.cpp(100) FMS Parameter
DEBUG: monitord/MonitorModuleFMS.cpp(101) sample : 22050
DEBUG: monitord/MonitorModuleFMS.cpp(102) syncbits: 12
DEBUG: monitord/MonitorModuleFMS.cpp(103) crc : 1
DEBUG: monitord/MonitorModuleFMS.cpp(104) level : 0.15259
DEBUG: monitord/MonitorModuleFMS.cpp(105) Algo : 1
DEBUG: monitord/MonitorModuleFMS.cpp(106) ignW : 0
DEBUG: monitord/MonitorModuleFMS.cpp(107) ignQ : 0
EBUG: monitord/MonitorModuleFMS.cpp(108) ErrC : 0
DEBUG: monitord/MonitorModuleFMS.cpp(109) force : 0
INFO: monitord/SndPipe.cpp(189) creating decoder for soundcard #0R:ZVEI
ERROR: monitord/posix/MonitorAudioALSA.cpp(79) [ALSA] Error setting channels dsnooped. -22(Invalid argument)
ERROR: monitord/posix/MonitorAudioALSA.cpp(16) [ALSA] Error initializing PCM device dsnooped
Welche speziellen Einstellungen braucht monitord?