OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "media/audio/audio_manager_base.h" | |
6 | |
7 AudioManagerBase::AudioManagerBase() | |
8 : audio_thread_("AudioThread"), | |
9 initialized_(false) { | |
10 } | |
11 | |
12 void AudioManagerBase::Init() { | |
13 initialized_ = audio_thread_.Start(); | |
14 } | |
15 | |
16 MessageLoop* AudioManagerBase::GetMessageLoop() { | |
17 DCHECK(initialized_); | |
18 return audio_thread_.message_loop(); | |
19 } | |
OLD | NEW |