quiniouben / vban

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

Issues using VBAN_receptor n a raspberry pi #74

Open inputoutput1126 opened 3 years ago

inputoutput1126 commented 3 years ago

so I'm trying to setup my pi as a headless vban receiver so I can send audio to a stereo strait from voicemeeter. after a fresh install of raspbian lite and setup of the repo to eliminate the option of other configuration issues, when I try to play audio I get:

Error: alsa_write: short write (expected 64, wrote 30)
Error: alsa_write: snd_pcm_writei failed: Broken pipe
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
Error: alsa_write: short write (expected 64, wrote 43)
Error: alsa_write: snd_pcm_writei failed: Broken pipe
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
Error: alsa_write: short write (expected 64, wrote 14)
Error: alsa_write: snd_pcm_writei failed: Broken pipe
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
Error: alsa_write: short write (expected 64, wrote 54)
Error: alsa_write: snd_pcm_writei failed: Broken pipe
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
Error: alsa_write: short write (expected 64, wrote 50)
Error: alsa_write: snd_pcm_writei failed: Broken pipe
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
Error: alsa_write: short write (expected 64, wrote 11)
Error: alsa_write: snd_pcm_writei failed: Broken pipe

it spams the console and nothing plays

TimLisemer commented 1 year ago

I had the same issue. Just install PulseAudio and use it instead of ALSA by specifying the --backend pulseaudio option

lamaland commented 6 months ago

Getting the same errors, but it's working most of the time, sound is playing, but with some glitches every minute or less. I've tried everything, can't get rid of them. Does anybody have an idea? What could I try to fix it? Maybe a networking issue?

Mar 15 18:16:35 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:17:08 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:17:08 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:17:08 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:24:08 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:24:08 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:24:08 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:25:16 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:25:16 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:25:16 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:25:19 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:25:19 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:25:19 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:27:50 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:27:50 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:27:50 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:34:34 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:34:34 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:34:34 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:39:34 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:39:34 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:39:34 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:40:01 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:40:01 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:40:01 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes
Mar 15 18:48:51 vban-salon vban_receptor[453]: Error: alsa_write: snd_pcm_writei failed: Broken pipe
Mar 15 18:48:51 vban-salon vban_receptor[453]: ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Mar 15 18:48:51 vban-salon vban_receptor[453]: Warning: main: wrote 0 bytes, expected 412 bytes