airplay buffer management correction

This commit is contained in:
philippe44
2019-08-25 23:05:21 -07:00
parent 8a6295a016
commit df525bbb10
3 changed files with 40 additions and 15 deletions

View File

@@ -192,6 +192,7 @@ void raop_sink_cmd_handler(raop_event_t event, void *param)
error = (raop_sync.playtime - now) - ms;
LOG_INFO("head local:%u, remote:%u (delta:%d)", ms, raop_sync.playtime - now, error);
LOG_DEBUG("obuf:%u, sync_len:%u, devframes:%u, inproc:%u", _buf_used(outputbuf), raop_sync.len, output.device_frames, output.frames_in_process);
//break;
}
if (error < -10 && raop_sync.error < -10) {