4 * ***** BEGIN LGPL LICENSE BLOCK *****
6 * Copyright 2009 Jörg Hermann Müller
8 * This file is part of AudaSpace.
10 * AudaSpace is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
15 * AudaSpace is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with AudaSpace. If not, see <http://www.gnu.org/licenses/>.
23 * ***** END LGPL LICENSE BLOCK *****
26 #ifndef AUD_SDLMIXERFACTORY
27 #define AUD_SDLMIXERFACTORY
29 #include "AUD_MixerFactory.h"
32 * This factory creates a resampling reader that uses SDL's resampling
33 * functionality which unfortunately is very very very limited.
35 class AUD_SDLMixerFactory : public AUD_MixerFactory
38 AUD_SDLMixerFactory(AUD_IReader* reader, AUD_Specs specs);
39 AUD_SDLMixerFactory(AUD_IFactory* factory, AUD_Specs specs);
40 AUD_SDLMixerFactory(AUD_Specs specs);
42 virtual AUD_IReader* createReader();
45 #endif //AUD_SDLMIXERFACTORY