mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
fix version check
This commit is contained in:
parent
b6804eefea
commit
947a828943
1 changed files with 2 additions and 2 deletions
|
|
@ -2678,7 +2678,7 @@ static void sink_fill_tagstruct(pa_native_connection *c, pa_tagstruct *t, pa_sin
|
|||
pa_tagstruct_put_usec(t, pa_sink_get_requested_latency(sink));
|
||||
}
|
||||
|
||||
if (c->version >= 14)
|
||||
if (c->version >= 15)
|
||||
pa_tagstruct_put_volume(t, sink->base_volume);
|
||||
}
|
||||
|
||||
|
|
@ -2712,7 +2712,7 @@ static void source_fill_tagstruct(pa_native_connection *c, pa_tagstruct *t, pa_s
|
|||
pa_tagstruct_put_usec(t, pa_source_get_requested_latency(source));
|
||||
}
|
||||
|
||||
if (c->version >= 14)
|
||||
if (c->version >= 15)
|
||||
pa_tagstruct_put_volume(t, source->base_volume);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue