diff options
author | Alejandro Marzini | 2010-06-29 01:08:36 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-06-29 01:08:36 +0000 |
commit | fd77e4b09c8ca80c8e449ad7266afaa494f98500 (patch) | |
tree | 232ce052cfecd5f4d32d15dabc6fc2d2e46e7a43 /backends/platform/sdl | |
parent | 494755cc36d4bd6bac46c63b6624fe5a294c493a (diff) | |
download | scummvm-rg350-fd77e4b09c8ca80c8e449ad7266afaa494f98500.tar.gz scummvm-rg350-fd77e4b09c8ca80c8e449ad7266afaa494f98500.tar.bz2 scummvm-rg350-fd77e4b09c8ca80c8e449ad7266afaa494f98500.zip |
Modularized Linuxmoto port.
svn-id: r50474
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/sdl.cpp | 5 | ||||
-rw-r--r-- | backends/platform/sdl/sdl.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index 574eeb5a9a..742f40511a 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -269,3 +269,8 @@ Audio::Mixer *OSystem_SDL::getMixer() { assert(_mixerManager); return _mixerManager->getMixer(); } + +SdlMixerManager *OSystem_SDL::getMixerManager() { + assert(_mixerManager); + return _mixerManager; +} diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index c61b8c810f..c238422906 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -71,6 +71,9 @@ public: // Get the Graphics Manager instance, used by other managers virtual SdlGraphicsManager *getGraphicsManager(); + // Get the Sdl Mixer Manager instance (not the Audio::Mixer) + virtual SdlMixerManager *getMixerManager(); + protected: bool _inited; bool _initedSDL; |