Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Unified Diff: media/audio/mac/audio_manager_mac.cc

Issue 2966005: Add recording capability to AudioManager, and implemented on windows using the WaveIn APIs. (Closed)
Patch Set: Patch Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/mac/audio_manager_mac.h ('k') | media/audio/openbsd/audio_manager_openbsd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_manager_mac.cc
diff --git a/media/audio/mac/audio_manager_mac.cc b/media/audio/mac/audio_manager_mac.cc
index 2cc5b391ef8845888a821a5258c8dd640f881893..84f76de56d4d304892eb128669540957b299c4ef 100644
--- a/media/audio/mac/audio_manager_mac.cc
+++ b/media/audio/mac/audio_manager_mac.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -27,6 +27,21 @@ bool AudioManagerMac::HasAudioOutputDevices() {
output_device_id != kAudioObjectUnknown;
}
+bool AudioManagerMac::HasAudioInputDevices() {
+ // TODO(satish): implement.
+ return false;
+}
+
+AudioInputStream* AudioManagerMac::MakeAudioInputStream(
+ Format format,
+ int channels,
+ int sample_rate,
+ char bits_per_sample,
+ uint32 samples_per_packet) {
+ // TODO(satish): implement.
+ return NULL;
+}
+
AudioOutputStream* AudioManagerMac::MakeAudioOutputStream(
Format format,
int channels,
« no previous file with comments | « media/audio/mac/audio_manager_mac.h ('k') | media/audio/openbsd/audio_manager_openbsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698