Chromium Code Reviews| Index: Source/modules/webaudio/AudioContext.cpp |
| diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
| index 1fa9d78d1487be98833b4ca9eed55da21e13c2ac..9d6fd96748e493797f6ab58a3aad0a0cff7d88fc 100644 |
| --- a/Source/modules/webaudio/AudioContext.cpp |
| +++ b/Source/modules/webaudio/AudioContext.cpp |
| @@ -419,8 +419,7 @@ PassRefPtr<MediaStreamAudioSourceNode> AudioContext::createMediaStreamSource(Med |
| PassRefPtr<MediaStreamAudioDestinationNode> AudioContext::createMediaStreamDestination() |
| { |
| // FIXME: Add support for an optional argument which specifies the number of channels. |
|
Tommy Widenflycht
2014/03/25 09:49:27
I guess this comment can be removed as well
no longer working on chromium
2014/03/25 10:08:29
Done with replacing the FIXME with a comment, as h
|
| - // FIXME: The default should probably be stereo instead of mono. |
| - return MediaStreamAudioDestinationNode::create(this, 1); |
| + return MediaStreamAudioDestinationNode::create(this, 2); |
|
Tommy Widenflycht
2014/03/25 09:49:27
Can this be made into an enum? MediaStreamAudioDes
no longer working on chromium
2014/03/25 10:08:29
:) Looking at the whole file, they use 2 for the c
|
| } |
| PassRefPtr<ScriptProcessorNode> AudioContext::createScriptProcessor(ExceptionState& exceptionState) |