diff options
| author | Alejandro Marzini | 2010-06-04 01:51:32 +0000 |
|---|---|---|
| committer | Alejandro Marzini | 2010-06-04 01:51:32 +0000 |
| commit | f83360f66b246cc505ba803f35221c3e67236246 (patch) | |
| tree | 15655ac8afb0b321d6a8e650f5eea67ac69edf5f /backends/audio/default/default-audio.h | |
| parent | 38dbbca964ac182439c2e61840783a4b7465688a (diff) | |
| download | scummvm-rg350-f83360f66b246cc505ba803f35221c3e67236246.tar.gz scummvm-rg350-f83360f66b246cc505ba803f35221c3e67236246.tar.bz2 scummvm-rg350-f83360f66b246cc505ba803f35221c3e67236246.zip | |
Created DefaultAudioManager and DefaultMutexManager.
Deleted base subsystems, managers will be used instead.
svn-id: r49419
Diffstat (limited to 'backends/audio/default/default-audio.h')
| -rw-r--r-- | backends/audio/default/default-audio.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/backends/audio/default/default-audio.h b/backends/audio/default/default-audio.h new file mode 100644 index 0000000000..b271474a5e --- /dev/null +++ b/backends/audio/default/default-audio.h @@ -0,0 +1,44 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#ifndef BACKENDS_AUDIO_DEFAULT_H +#define BACKENDS_AUDIO_DEFAULT_H + +#include "common/system.h" +#include "common/noncopyable.h" +#include "sound/mixer_intern.h" + +class DefaultAudioManager : Audio::MixerImpl, Common::NonCopyable { +public: + DefaultAudioManager(OSystem *system, uint sampleRate) : Audio::MixerImpl(system, sampleRate) {} + ~DefaultAudioManager() {} + + bool hasAudioFeature(OSystem::Feature f); + void setAudioFeatureState(OSystem::Feature f, bool enable) {} + bool getAudioFeatureState(OSystem::Feature f); +}; + + +#endif |
