mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa-plugin: don't rate match for capture streams
For capture streams we can simple copy the complete pipewire buffer into the alsa pcm ringbuffer to make it available for the application.
This commit is contained in:
parent
33f087d4db
commit
d8e24fca1c
1 changed files with 2 additions and 1 deletions
|
|
@ -368,7 +368,8 @@ static void on_stream_io_changed(void *data, uint32_t id, void *area, uint32_t s
|
|||
snd_pcm_pipewire_t *pw = data;
|
||||
switch (id) {
|
||||
case SPA_IO_RateMatch:
|
||||
pw->rate_match = area;
|
||||
if (pw->io.stream == SND_PCM_STREAM_PLAYBACK)
|
||||
pw->rate_match = area;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue