Improvement for issue 3489986: BT SCO volume
Add a parameter to applyStreamVolumes() to force stream volume update. Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5
This commit is contained in:
parent
fafb18fb31
commit
3775706211
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ protected:
|
|||
// check that volume change is permitted, compute and send new volume to audio hardware
|
||||
status_t checkAndSetVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs = 0, bool force = false);
|
||||
// apply all stream volumes to the specified output and device
|
||||
void applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs = 0);
|
||||
void applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs = 0, bool force = false);
|
||||
// Mute or unmute all streams handled by the specified strategy on the specified output
|
||||
void setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs = 0);
|
||||
// Mute or unmute the stream on the specified output
|
||||
|
|
Loading…
Reference in a new issue