mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-11 04:27:56 -05:00
remove the rate_match io
Now that the stream provides us with a requested size, we don't need to use the rate_match anymore.
This commit is contained in:
parent
5192fcb16c
commit
7e42c905a8
8 changed files with 12 additions and 104 deletions
|
|
@ -1260,8 +1260,7 @@ static void stream_process(void *data)
|
|||
if (stream->direction == PW_DIRECTION_OUTPUT) {
|
||||
int32_t avail = spa_ringbuffer_get_read_index(&stream->ring, &index);
|
||||
|
||||
if (stream->rate_match)
|
||||
minreq = stream->rate_match->size * stream->frame_size;
|
||||
minreq = buffer->requested * stream->frame_size;
|
||||
if (minreq == 0)
|
||||
minreq = stream->attr.minreq;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue