| Index: media/audio/win/core_audio_util_win.h
|
| diff --git a/media/audio/win/core_audio_util_win.h b/media/audio/win/core_audio_util_win.h
|
| index 5059856af7ad51b222bc681ae1fa4d64921d0509..2dac60a86bd0151e2824e56629f7e810cba3853f 100644
|
| --- a/media/audio/win/core_audio_util_win.h
|
| +++ b/media/audio/win/core_audio_util_win.h
|
| @@ -117,6 +117,14 @@ class MEDIA_EXPORT CoreAudioUtil {
|
| AUDCLNT_SHAREMODE share_mode,
|
| const WAVEFORMATPCMEX* format);
|
|
|
| + // Returns true if the specified |channel_layout| is supported for the
|
| + // default IMMDevice where flow direction and role is define by |data_flow|
|
| + // and |role|. If this method returns true for a certain channel layout, it
|
| + // means that SharedModeInitialize() will succeed using a format based on
|
| + // the preferred format where the channel layout has been modified.
|
| + static bool IsChannelLayoutSupported(EDataFlow data_flow, ERole role,
|
| + ChannelLayout channel_layout);
|
| +
|
| // For a shared-mode stream, the audio engine periodically processes the
|
| // data in the endpoint buffer at the period obtained in |device_period|.
|
| // For an exclusive mode stream, |device_period| corresponds to the minimum
|
|
|