modules: use pw_stream_set_rate() some more

This commit is contained in:
Wim Taymans 2024-11-22 09:55:36 +01:00
parent 804df3389a
commit e1fc3de595
3 changed files with 1 additions and 4 deletions

View file

@ -301,8 +301,7 @@ static void rtp_audio_process_capture(void *data)
if (impl->separate_sender) {
/* apply the DLL rate */
SPA_FLAG_SET(impl->io_rate_match->flags, SPA_IO_RATE_MATCH_FLAG_ACTIVE);
impl->io_rate_match->rate = impl->ptp_corr;
pw_stream_set_rate(impl->stream, impl->ptp_corr);
}
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {