receiving: pass received frame TS for futher sync

This commit is contained in:
Martin Pulec
2023-06-28 16:14:45 +02:00
parent 17f50eede2
commit 1784f2cedd
3 changed files with 6 additions and 2 deletions

View File

@@ -292,6 +292,7 @@ audio_frame2 audio_codec_decompress(struct audio_codec_state *s, audio_frame2 *f
if (out) {
if (!out_frame_initialized) {
ret.init(frame->get_channel_count(), AC_PCM, out->bps, out->sample_rate);
ret.set_timestamp(frame->get_timestamp());
out_frame_initialized = true;
} else {
assert(out->bps == ret.get_bps()