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

Unified Diff: media/audio/openbsd/audio_manager_openbsd.cc

Issue 3185022: Share one thread between all AudioOutputControllers instead of creating one per stream. (Closed)
Patch Set: - Created 10 years, 4 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/openbsd/audio_manager_openbsd.h ('k') | media/audio/simple_sources_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/openbsd/audio_manager_openbsd.cc
diff --git a/media/audio/openbsd/audio_manager_openbsd.cc b/media/audio/openbsd/audio_manager_openbsd.cc
index 7d7a249aa1edda30bea9d2767a237a30dc469ced..c2c7b98ee40813ad3107a3f55f61db596ed93268 100644
--- a/media/audio/openbsd/audio_manager_openbsd.cc
+++ b/media/audio/openbsd/audio_manager_openbsd.cc
@@ -4,7 +4,6 @@
#include "media/audio/openbsd/audio_manager_openbsd.h"
-#include "base/at_exit.h"
#include "base/logging.h"
namespace {
@@ -48,6 +47,7 @@ AudioManagerOpenBSD::~AudioManagerOpenBSD() {
}
void AudioManagerOpenBSD::Init() {
+ AudioManagerBase::Init();
}
void AudioManagerOpenBSD::MuteAll() {
@@ -71,3 +71,8 @@ AudioManager* AudioManager::GetAudioManager() {
}
return g_audio_manager;
}
+
+// static
+AudioManager* AudioManager::CreateAudioManager() {
+ return new AudioManagerOpenBSD();
+}
« no previous file with comments | « media/audio/openbsd/audio_manager_openbsd.h ('k') | media/audio/simple_sources_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698