Index: media/audio/audio_system.h |
diff --git a/media/audio/audio_system.h b/media/audio/audio_system.h |
index a11b030c742ab22e6b195f2a40388decd7df488c..ef04c4ff7ae6b1d24913f4c1b04a44484fab07ca 100644 |
--- a/media/audio/audio_system.h |
+++ b/media/audio/audio_system.h |
@@ -30,6 +30,14 @@ class MEDIA_EXPORT AudioSystem { |
const std::string& device_id, |
OnAudioParamsCallback on_params_cb) const = 0; |
+ // If media::AudioDeviceDescription::IsDefaultDevice(device_id) is true, |
+ // callback will receive the parameters of the default output device. |
+ // Callback will receive invalid parameters if the device (default or not) is |
o1ka
2017/02/14 11:37:03
guidou@:
AudioOutputAuthorizationHandler will fall
|
+ // not found. |
+ virtual void GetOutputStreamParameters( |
+ const std::string& device_id, |
+ OnAudioParamsCallback on_params_cb) const = 0; |
+ |
virtual void HasInputDevices(OnBoolCallback on_has_devices_cb) const = 0; |
// Must not be used for anything but stream creation. |