mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-13 05:33:50 -04:00
fix invalid validity check
This commit is contained in:
parent
f3770fa7af
commit
74898ff657
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ pa_sink_input* pa_sink_input_new(
|
|||
}
|
||||
|
||||
pa_return_null_if_fail(pa_cvolume_valid(&data->volume));
|
||||
pa_return_null_if_fail(data->volume.channels == data->sample_spec.channels);
|
||||
pa_return_null_if_fail(pa_cvolume_compatible(&data->volume, &data->sample_spec));
|
||||
|
||||
if (!data->muted_is_set)
|
||||
data->muted = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue