| Index: third_party/WebKit/Source/platform/audio/AudioDestination.h
|
| diff --git a/third_party/WebKit/Source/platform/audio/AudioDestination.h b/third_party/WebKit/Source/platform/audio/AudioDestination.h
|
| index 74b821e03adfaddad5389db93edbb9a10f24ac9e..dda3527f57476e3697025958418f64c07573959d 100644
|
| --- a/third_party/WebKit/Source/platform/audio/AudioDestination.h
|
| +++ b/third_party/WebKit/Source/platform/audio/AudioDestination.h
|
| @@ -63,7 +63,8 @@ class PLATFORM_EXPORT AudioDestination : public WebAudioDevice::RenderCallback,
|
| ~AudioDestination() override;
|
|
|
| // Pass in (numberOfInputChannels > 0) if live/local audio input is desired.
|
| - // Port-specific device identification information for live/local input streams can be passed in the inputDeviceId.
|
| + // Port-specific device identification information for live/local input
|
| + // streams can be passed in the inputDeviceId.
|
| static std::unique_ptr<AudioDestination> create(
|
| AudioIOCallback&,
|
| const String& inputDeviceId,
|
| @@ -88,11 +89,11 @@ class PLATFORM_EXPORT AudioDestination : public WebAudioDevice::RenderCallback,
|
|
|
| static float hardwareSampleRate();
|
|
|
| - // maxChannelCount() returns the total number of output channels of the audio hardware.
|
| - // A value of 0 indicates that the number of channels cannot be configured and
|
| - // that only stereo (2-channel) destinations can be created.
|
| - // The numberOfOutputChannels parameter of AudioDestination::create() is allowed to
|
| - // be a value: 1 <= numberOfOutputChannels <= maxChannelCount(),
|
| + // maxChannelCount() returns the total number of output channels of the audio
|
| + // hardware. A value of 0 indicates that the number of channels cannot be
|
| + // configured and that only stereo (2-channel) destinations can be created.
|
| + // The numberOfOutputChannels parameter of AudioDestination::create() is
|
| + // allowed to be a value: 1 <= numberOfOutputChannels <= maxChannelCount(),
|
| // or if maxChannelCount() equals 0, then numberOfOutputChannels must be 2.
|
| static unsigned long maxChannelCount();
|
|
|
|
|