mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: remove useless parsing
We don't have float params.
This commit is contained in:
parent
93b5d440bc
commit
b173198d3b
1 changed files with 0 additions and 3 deletions
|
|
@ -307,9 +307,6 @@ static int parse_prop_params(struct impl *this, struct spa_pod *params)
|
|||
|
||||
if (spa_pod_is_string(pod)) {
|
||||
spa_pod_copy_string(pod, sizeof(value), value);
|
||||
} else if (spa_pod_is_float(pod)) {
|
||||
snprintf(value, sizeof(value), "%f",
|
||||
SPA_POD_VALUE(struct spa_pod_float, pod));
|
||||
} else if (spa_pod_is_int(pod)) {
|
||||
snprintf(value, sizeof(value), "%d",
|
||||
SPA_POD_VALUE(struct spa_pod_int, pod));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue