Audio Processing Module: add play-out audio device runtime information
Add a runtime setting that notifies play-out audio device changes. The payload is a pair indicating a device id and its maximum play-out volume. kPlayoutVolumeChange is now forwarded not only to capture, but also render (required by render_pre_processor). Bug: webrtc:10608 Change-Id: I8997c207422c1dcd1d53775397d6290939ef3db8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159002 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29725}
This commit is contained in:
committed by
Commit Bot
parent
1cd6fbc2a4
commit
7c19a706b0
@ -80,11 +80,17 @@ message Config {
|
||||
// Next field number 21.
|
||||
}
|
||||
|
||||
message PlayoutAudioDeviceInfo {
|
||||
optional int32 id = 1;
|
||||
optional int32 max_volume = 2;
|
||||
}
|
||||
|
||||
message RuntimeSetting {
|
||||
optional float capture_pre_gain = 1;
|
||||
optional float custom_render_processing_setting = 2;
|
||||
optional float capture_fixed_post_gain = 3;
|
||||
optional int32 playout_volume_change = 4;
|
||||
optional PlayoutAudioDeviceInfo playout_audio_device_change = 5;
|
||||
}
|
||||
|
||||
message Event {
|
||||
|
||||
Reference in New Issue
Block a user