Chromium Code Reviews| Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
| =================================================================== |
| --- content/renderer/renderer_webkitplatformsupport_impl.cc (revision 186233) |
| +++ content/renderer/renderer_webkitplatformsupport_impl.cc (working copy) |
| @@ -632,6 +632,11 @@ |
| return thread->GetAudioHardwareConfig()->GetOutputBufferSize(); |
| } |
| +unsigned RendererWebKitPlatformSupportImpl::audioHardwareOutputChannels() { |
|
DaleCurtis
2013/03/07 02:41:39
Should this just be size_t?
Chris Rogers
2013/03/09 01:37:50
It's part of the WebKit API, so it has to match th
|
| + RenderThreadImpl* thread = RenderThreadImpl::current(); |
| + return thread->GetAudioHardwareConfig()->GetOutputChannels(); |
| +} |
| + |
| // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
| WebAudioDevice* |
| RendererWebKitPlatformSupportImpl::createAudioDevice( |