mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: don't fixate rate
We alwats want to adapt to the rate of the graph and not the samplerate that was configured with the PortConfig. This fixes samplerate switching again.
This commit is contained in:
parent
54933b67fd
commit
ca5e0e5837
1 changed files with 0 additions and 1 deletions
|
|
@ -542,7 +542,6 @@ static int format_audio_raw_parse_opt(const struct spa_pod *format, struct spa_a
|
|||
res = spa_pod_parse_object(format,
|
||||
SPA_TYPE_OBJECT_Format, NULL,
|
||||
SPA_FORMAT_AUDIO_format, SPA_POD_OPT_Id(&info->format),
|
||||
SPA_FORMAT_AUDIO_rate, SPA_POD_OPT_Int(&info->rate),
|
||||
SPA_FORMAT_AUDIO_channels, SPA_POD_OPT_Int(&info->channels),
|
||||
SPA_FORMAT_AUDIO_position, SPA_POD_OPT_Pod(&position));
|
||||
if (position == NULL ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue