OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "media/audio/audio_output_dispatcher.h" | 9 #include "media/audio/audio_output_dispatcher.h" |
10 #include "media/audio/fake_audio_input_stream.h" | 10 #include "media/audio/fake_audio_input_stream.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 } | 111 } |
112 | 112 |
113 void AudioManagerOpenBSD::ReleaseOutputStream(AudioOutputStream* stream) { | 113 void AudioManagerOpenBSD::ReleaseOutputStream(AudioOutputStream* stream) { |
114 if (stream) { | 114 if (stream) { |
115 active_streams_.erase(stream); | 115 active_streams_.erase(stream); |
116 delete stream; | 116 delete stream; |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 // static | 120 // static |
121 AudioManager* AudioManager::CreateAudioManager() { | 121 AudioManager* CreateAudioManager() { |
122 return new AudioManagerOpenBSD(); | 122 return new AudioManagerOpenBSD(); |
123 } | 123 } |
OLD | NEW |