quiniouben / vban

VBAN protocol open-source implementation
GNU General Public License v3.0
450 stars 63 forks source link

Vban Emitter and Receptor on Raspberry #64

Closed Mikroxy closed 3 years ago

Mikroxy commented 3 years ago

Hi,

did anybody already use a Emitter and Recepter at the same time on a Raspberry? I'm using a Pi Zero with a USB Soundcard which has a microphone and headphone connected. When I use vban_receptor it works find and same for vban_emitter. But when I try to use both at the same time it does not work. I created bash files for Receptor and Emitter and I execute them like this: ./TX.sh && ./RX.sh But it's always the first one which is working the second one does not?

I also get some errors which I could already find some posts for that but in gerneral my audio output and also input does work.

Error: alsa_write: short write (expected 85, wrote 6) Error: alsa_write: snd_pcm_writei failed: Broken pipe ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred

I appreciate any help Thanks

Mikroxy commented 3 years ago

I'm still on it. When I start a Terminal for the Vban Emitter and another one for the Receptor manually it does work. But how can I put that into Autostart?

Still no luck with my bash files.

Mikroxy commented 3 years ago

I found a solution which works well for me.

lxterminal -e ./RX.sh lxterminal -e ./TX.sh

The only thing which is left is the broken pipe error for the Reciever