diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-10-25 22:28:57 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-10-25 22:28:57 +0800 |
commit | 6206029f2d0af3ef76a0a61ef024ca758307ba19 (patch) | |
tree | 3c5d558a8f2d8271cbf0cc5b827e3f2165402dc7 /smelt/sdl/sfx_dumb.cpp | |
parent | 12ac4db50e8c2b131d992733bb93b554e2cbd7d0 (diff) | |
download | SMELT-6206029f2d0af3ef76a0a61ef024ca758307ba19.tar.xz |
Add more options to the config file.
Diffstat (limited to 'smelt/sdl/sfx_dumb.cpp')
-rw-r--r-- | smelt/sdl/sfx_dumb.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/smelt/sdl/sfx_dumb.cpp b/smelt/sdl/sfx_dumb.cpp index 4e7a277..69cae6e 100644 --- a/smelt/sdl/sfx_dumb.cpp +++ b/smelt/sdl/sfx_dumb.cpp @@ -6,13 +6,9 @@ * This dumb implementation has everything stubbed, useful if you don't * use the audio routines here. * - * WARNING: This library is in development and interfaces would be very - * unstable. + * WARNING: This file is not intended to be used on its own! * */ -#include "smelt_internal.hpp" - -static const char* SFX_SDL_SRCFN="smelt/sdl/sfx_dumb.cpp"; SMSFX SMELT_IMPL::smSFXLoad(const char *path) {return 0;} @@ -57,18 +53,11 @@ int SMELT_IMPL::smChannelGetPosd(SMCHN chn) void SMELT_IMPL::smChannelSetPosd(SMCHN chn,int pos) {} -ALuint SMELT_IMPL::getSource() -{return 0;} bool SMELT_IMPL::initOAL() { smLog("%s:" SLINE ": I'm dumb!\n",SFX_SDL_SRCFN); - pOpenALDevice=(void*)1; return true; } void SMELT_IMPL::finiOAL() { - if(pOpenALDevice) - { - pOpenALDevice=NULL; - } } |