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/sound-file-stream.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/sound-file-stream.c')
-rw-r--r-- | src/pulsecore/sound-file-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/sound-file-stream.c b/src/pulsecore/sound-file-stream.c index b78afca8..1be421f1 100644 --- a/src/pulsecore/sound-file-stream.c +++ b/src/pulsecore/sound-file-stream.c @@ -322,7 +322,7 @@ int pa_play_file( data.sink = sink; data.driver = __FILE__; pa_sink_input_new_data_set_sample_spec(&data, &ss); - pa_sink_input_new_data_set_volume(&data, volume); + pa_sink_input_new_data_set_virtual_volume(&data, volume); pa_proplist_sets(data.proplist, PA_PROP_MEDIA_NAME, pa_path_get_filename(fname)); pa_proplist_sets(data.proplist, PA_PROP_MEDIA_FILENAME, fname); |