summaryrefslogtreecommitdiffstats
path: root/media/audio
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio')
-rw-r--r--media/audio/audio_output.h2
-rw-r--r--media/audio/linux/audio_manager_linux.cc10
-rw-r--r--media/audio/mac/audio_manager_mac.cc10
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;
+}