raspbian - RasberryPi A2DP Sink - pause issue (PulseAudio, Bluez) -


i'm trying create bluetooth a2dp sink (receiver) output audio vorbis radio stream (lan only). want bluetooth add-on squeezebox (squeezelite) multi-room music system. a2dp-sink-radio-transmitter standalone raspberry pi can added system easily. i'm relatively new linux.

i have achieved working setup, falls on when pause audio on bluetooth source (phone).

the setup: bluetooth phone -> received bluez/pulseaudio [pa] -> pulseaudio bluez source through pa 'module-loopback' alsa audio card sink -> darkice encode vorbis stream using pulseaudio source (device = pulse) -> icecast2 broadcast

this works when pause phone stream (as received vlc/squeezebox) stops (time stamp stops ticking). resuming audio gives huge latency (i think it's same length pause duration). after long pauses stream can fail restart. darkice seeing audio input has stopped.

i think need tell pulseaudio fill pause silence somehow. i've tried routing through alsa dummy (snd-dummy), gave constant noise. couldn't jackd work.

darkice can take following sources: oss, alsa , jack.

please help, i'm sooooo close!

i've found solution.

i've removed darkice , i'm using liquidsoap create vorbis stream. has option mksafe() send silence if incoming audio source not available. wanted!


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -