diff options
Diffstat (limited to 'media/audio/openbsd')
-rw-r--r-- | media/audio/openbsd/audio_manager_openbsd.cc | 7 | ||||
-rw-r--r-- | media/audio/openbsd/audio_manager_openbsd.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/media/audio/openbsd/audio_manager_openbsd.cc b/media/audio/openbsd/audio_manager_openbsd.cc index 7d7a249..c2c7b98 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(); +} diff --git a/media/audio/openbsd/audio_manager_openbsd.h b/media/audio/openbsd/audio_manager_openbsd.h index ddbce23..fc35a37 100644 --- a/media/audio/openbsd/audio_manager_openbsd.h +++ b/media/audio/openbsd/audio_manager_openbsd.h @@ -7,7 +7,7 @@ #include "media/audio/audio_io.h" -class AudioManagerOpenBSD : public AudioManager { +class AudioManagerOpenBSD : public AudioManagerBase { public: AudioManagerOpenBSD(); |