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

Side by Side Diff: media/audio/openbsd/audio_manager_openbsd.cc

Issue 4661001: Simplified AudioOutputStream interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/audio/openbsd/audio_manager_openbsd.h ('k') | media/audio/simple_sources.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/audio/openbsd/audio_manager_openbsd.h" 5 #include "media/audio/openbsd/audio_manager_openbsd.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace { 9 namespace {
10 AudioManagerOpenBSD* g_audio_manager = NULL; 10 AudioManagerOpenBSD* g_audio_manager = NULL;
(...skipping 10 matching lines...) Expand all
21 return false; 21 return false;
22 } 22 }
23 23
24 AudioOutputStream* AudioManagerOpenBSD::MakeAudioOutputStream( 24 AudioOutputStream* AudioManagerOpenBSD::MakeAudioOutputStream(
25 AudioParameters params) { 25 AudioParameters params) {
26 NOTIMPLEMENTED(); 26 NOTIMPLEMENTED();
27 return NULL; 27 return NULL;
28 } 28 }
29 29
30 AudioInputStream* AudioManagerOpenBSD::MakeAudioInputStream( 30 AudioInputStream* AudioManagerOpenBSD::MakeAudioInputStream(
31 AudioParameters params, 31 AudioParameters params) {
32 uint32 samples_per_packet) {
33 NOTIMPLEMENTED(); 32 NOTIMPLEMENTED();
34 return NULL; 33 return NULL;
35 } 34 }
36 35
37 AudioManagerOpenBSD::AudioManagerOpenBSD() { 36 AudioManagerOpenBSD::AudioManagerOpenBSD() {
38 } 37 }
39 38
40 AudioManagerOpenBSD::~AudioManagerOpenBSD() { 39 AudioManagerOpenBSD::~AudioManagerOpenBSD() {
41 } 40 }
42 41
43 void AudioManagerOpenBSD::Init() { 42 void AudioManagerOpenBSD::Init() {
44 AudioManagerBase::Init(); 43 AudioManagerBase::Init();
45 } 44 }
46 45
47 void AudioManagerOpenBSD::MuteAll() { 46 void AudioManagerOpenBSD::MuteAll() {
48 NOTIMPLEMENTED(); 47 NOTIMPLEMENTED();
49 } 48 }
50 49
51 void AudioManagerOpenBSD::UnMuteAll() { 50 void AudioManagerOpenBSD::UnMuteAll() {
52 NOTIMPLEMENTED(); 51 NOTIMPLEMENTED();
53 } 52 }
54 53
55 // static 54 // static
56 AudioManager* AudioManager::CreateAudioManager() { 55 AudioManager* AudioManager::CreateAudioManager() {
57 return new AudioManagerOpenBSD(); 56 return new AudioManagerOpenBSD();
58 } 57 }
OLDNEW
« no previous file with comments | « media/audio/openbsd/audio_manager_openbsd.h ('k') | media/audio/simple_sources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698