mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
modules: use pw_stream_set_rate() some more
This commit is contained in:
parent
804df3389a
commit
e1fc3de595
3 changed files with 1 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue