Closed Blobbel closed 3 years ago
I figured it out, part 1 of the fix was by setting -q 4
for a larger buffer, which makes 99.9% of those error messages disappear.
Part 2 was realizing the fader of the "Virtual input" into Voicemeeter needed to be up. D'oh!!!!!
Closing the issue but leaving this up for googlability in case someone else has the same issue.
I noticed there were some other kinda unresolved issues that got resolved but nobody understood why it started working.
I have a more or less standard KODI installation on a Raspberry Pi 3B and I am having a bit of a problem getting vban_receptor to work. What's a bit unusual here is that I am trying to play back a 5.1 stream from a PC into the KODI system (which is connected to speakers via HDMI). I have to admit I don't know so much about Linux audio but I would be happy to try to get this sorted out, not only for myself, I do believe some other people might want to run vban on raspberries that are used as media players..
After getting the toolchain in order, I configured and compiled vban with
--disable-pulseaudio --disable-jack
Here is the output of aplay -L :
I set up Voicemeeter on the PC and enabled VBAN. Stream1 is set for 6 channels, PCM 16bit, 48k. I am playing back audio from foobar2000 using "Voicemeeter input" as the audiodevice.. so far so good.
But if I try to connect the receptor, i get this kind of errors:
Yes, my network really is '192.168.8.".
aplay
works with some stereo test file (even if some other audio is playing on the raspberry under KODI -- the sound gets mixed).I'm also able to get test noise into all 6 speakers with
speaker-test -c6 -D hw:0,1
(wrongly mapped but still)But
hw:0,1
as the device for vban_receptor gets the short write/ broken pipe message.I tried it after
sudo systemctl stop mediacenter
, same thing.if I put
-d null
as the device then it gives no error message. (But no audio ouput either for obvious reasons)I tried different device descriptors, and for some of them there is a channel mismatch instead of the broken pipe/ underrun:
The channel mismatch thing happens on the following devices:
dmix:CARD=ALSA,DEV=0
dmix:CARD=ALSA,DEV=1
dmix:CARD=ALSA,DEV=2
hw:CARD=ALSA,DEV=0
Strangely,
hw:CARD=ALSA,DEV=1
hw:CARD=ALSA,DEV=2
instead have the broken pipe issue.dsnoop:CARD=ALSA,DEV=0
instead givesThe dsnoop plugin supports only capture stream
Does anyone know what could be the matter or have any idea where I should poke next? This could of course also be a Raspberry or KODI thing, but it's are a common enough setup that this might be googlable for someone else trying to achieve the same thing.
Logging with
-l 4
gives this:etc
If I specify
-c1,2
it's possible to get a message such asnew map config is nb channels 2
instead of the a bit suspicious0
but the error remains:Cheers and thanks for the good work!