Is there way to change output volume for device?

Hi, guys
Hope you are doing well.
Is there way to change the output volume on device?
There is a way to change volume by using
AudioTransportSource::setGain(), and if we have many sources, and it is better to change the volume gain for device instead of using setGain to all the transportSource. we play many transportSource simultaneously.

any ideas?


The device doesn’t do any processing at all on the audio it gets. The idea is that you’d use an audio source to apply a gain to the mixed data that you’re about to send to the device…

hi, jules