enable AirPlay to BT bridge

This commit is contained in:
philippe44
2019-08-21 08:35:25 -07:00
parent 8ddc2a0dc5
commit 95ad5a5ef4
4 changed files with 10 additions and 11 deletions

View File

@@ -442,6 +442,7 @@ static void *output_thread_i2s() {
// try to estimate how much we have consumed from the DMA buffer
output.device_frames = DMA_BUF_COUNT * DMA_BUF_LEN - ((output.updated - fullness) * output.current_sample_rate) / 1000;
oframes = _output_frames( iframes );
output.frames_in_process = oframes;
SET_MIN_MAX_SIZED(oframes,rec,iframes);
SET_MIN_MAX_SIZED(_buf_used(outputbuf),o,outputbuf->size);