diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-27 04:39:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-27 04:39:07 +0100 |
commit | d5f46e824e3f8a042e6f67dd4c3fc385545edd74 (patch) | |
tree | 8c36ed55541b3aa5429c537498b47f29fc590222 /src/pulsecore/cli-command.c | |
parent | 4bfa5d7d13350bd0eac439dbe251812ce437ea43 (diff) |
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
Diffstat (limited to 'src/pulsecore/cli-command.c')
-rw-r--r-- | src/pulsecore/cli-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c index da3ef1e2..b93f24f7 100644 --- a/src/pulsecore/cli-command.c +++ b/src/pulsecore/cli-command.c @@ -518,7 +518,7 @@ static int pa_cli_command_sink_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *bu } pa_cvolume_set(&cvolume, sink->sample_spec.channels, volume); - pa_sink_set_volume(sink, &cvolume); + pa_sink_set_volume(sink, &cvolume, TRUE, TRUE); return 0; } |