Skip to content
  • Igor Kovalenko's avatar
    bluetooth: Amend writeout to send more initial frames · 3e5db72a
    Igor Kovalenko authored and PulseAudio Marge Bot's avatar PulseAudio Marge Bot committed
    When bluetooth transport has both both sink and source, pulseaudio would
    synchronize writing out frames with reading frames from peer to make fair
    schedule of reads and writes. Pulseaudio allows two blocks of data to be sent to
    peer before synchronizing writes with reads just in case that peer implements
    similar write schedule.
    It could happen that first blocks are still missed by peer, which would cause
    pulseaudio writes to stall waiting for first frames from peer.
    Fix this by allowing more data frames out until data from peer is actually
    Closes: #1424
    Part-of: <!777>