diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-11 03:07:27 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-11 03:07:27 +0000 |
commit | f4d27d908bcf7db4efbac97318ecb5d52892823b (patch) | |
tree | f5b67f2318bdc653f9c948c4bc6454b574a4f1bd /media/audio | |
parent | cccbe29c642c47816478b8ba3df9329fcee03728 (diff) | |
download | chromium_src-f4d27d908bcf7db4efbac97318ecb5d52892823b.zip chromium_src-f4d27d908bcf7db4efbac97318ecb5d52892823b.tar.gz chromium_src-f4d27d908bcf7db4efbac97318ecb5d52892823b.tar.bz2 |
Construct AudioRendererHost in BrowserRendererProcessHost, also construct
ResourceMessageFilter with pointer to it so we can delegate requests to it from IPC later.
Review URL: http://codereview.chromium.org/20131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio')
-rw-r--r-- | media/audio/audio_output.h | 2 | ||||
-rw-r--r-- | media/audio/linux/audio_manager_linux.cc | 10 | ||||
-rw-r--r-- | media/audio/mac/audio_manager_mac.cc | 10 |
3 files changed, 22 insertions, 0 deletions
diff --git a/media/audio/audio_output.h b/media/audio/audio_output.h index b21d653..7d82500 100644 --- a/media/audio/audio_output.h +++ b/media/audio/audio_output.h @@ -5,6 +5,8 @@ #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_H_ #define MEDIA_AUDIO_AUDIO_OUTPUT_H_ +#include "base/basictypes.h" + // Low-level audio output support. To make sound there are 3 objects involved: // - AudioSource : produces audio samples on a pull model. Implements // the AudioSourceCallback interface. diff --git a/media/audio/linux/audio_manager_linux.cc b/media/audio/linux/audio_manager_linux.cc new file mode 100644 index 0000000..15a13b2 --- /dev/null +++ b/media/audio/linux/audio_manager_linux.cc @@ -0,0 +1,10 @@ +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "media/audio/audio_output.h" + +// TODO(hclam): Do something more useful than returning NULL. +AudioManager* AudioManager::GetAudioManager() { + return NULL; +} diff --git a/media/audio/mac/audio_manager_mac.cc b/media/audio/mac/audio_manager_mac.cc new file mode 100644 index 0000000..15a13b2 --- /dev/null +++ b/media/audio/mac/audio_manager_mac.cc @@ -0,0 +1,10 @@ +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "media/audio/audio_output.h" + +// TODO(hclam): Do something more useful than returning NULL. +AudioManager* AudioManager::GetAudioManager() { + return NULL; +} |