projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sink-input: Add volume_writable to pa_sink_input.
[profile/ivi/pulseaudio-panda.git]
/
src
/
pulsecore
/
cli-command.c
diff --git
a/src/pulsecore/cli-command.c
b/src/pulsecore/cli-command.c
index
de4995e
..
17b0e15
100644
(file)
--- a/
src/pulsecore/cli-command.c
+++ b/
src/pulsecore/cli-command.c
@@
-585,7
+585,7
@@
static int pa_cli_command_sink_input_volume(pa_core *c, pa_tokenizer *t, pa_strb
return -1;
}
- if (!
pa_sink_input_is_volume_writable(si)
) {
+ if (!
si->volume_writable
) {
pa_strbuf_puts(buf, "This sink input's volume can't be changed.\n");
return -1;
}