mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pipewire: module-roc-{sink,source}: port to ROC v0.3.X
ROC 0.3 introduced breaking changes, so adjust the code. Also set the minimum supported ROC version to 0.3.0. Fixes #3667
This commit is contained in:
parent
5d62bf5c06
commit
333fd8d2ae
6 changed files with 11 additions and 12 deletions
|
|
@ -31,8 +31,6 @@ static inline int pw_roc_parse_resampler_profile(roc_resampler_profile *out, con
|
|||
{
|
||||
if (!str || !*str)
|
||||
*out = ROC_RESAMPLER_PROFILE_DEFAULT;
|
||||
else if (spa_streq(str, "disable"))
|
||||
*out = ROC_RESAMPLER_PROFILE_DISABLE;
|
||||
else if (spa_streq(str, "high"))
|
||||
*out = ROC_RESAMPLER_PROFILE_HIGH;
|
||||
else if (spa_streq(str, "medium"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue