mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
remove soft volume from pa_sink_input_new_info since it should be handled internally and automatically by the sink input
This commit is contained in:
parent
b2c923e727
commit
d802a76963
7 changed files with 63 additions and 72 deletions
|
|
@ -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_virtual_volume(&data, volume);
|
||||
pa_sink_input_new_data_set_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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue