Hi I am trying to make a small program playing different streams. A part of the program is to control the volume from the application while playing the stream. I have found two methods for controlling the volumes. - Setting the volume on the sink using pa_context_set_sink_volume_by_index. This method works, but I wont to set the volume pr. stream, not pr. device. - Setting the volume using a similar method used in the application pavucontrol. I have tried this with little success. First i used pa_ext_stream_restore_write() but nothing happened so I added a call back function to see what went from.