diff options
Diffstat (limited to 'src/libjin/audio/SDL/je_sdl_source.h')
-rw-r--r-- | src/libjin/audio/SDL/je_sdl_source.h | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/libjin/audio/SDL/je_sdl_source.h b/src/libjin/audio/SDL/je_sdl_source.h index 07333ae..8a3309e 100644 --- a/src/libjin/audio/SDL/je_sdl_source.h +++ b/src/libjin/audio/SDL/je_sdl_source.h @@ -28,21 +28,19 @@ namespace JinEngine { public: /// - /// Create source from raw source data file. + /// Source constructor. + /// + SDLSource(); + + /// /// - /// @param file Audio source file. - /// @return Return source if create successful, otherwise return null. /// - static SDLSource* createSource(const char* file); + SDLSource(const char* file); /// - /// Create source from raw source data. - /// - /// @param mem Source data. - /// @param size Source data size. - /// @return Return source if create successful, otherwise return null. /// - static SDLSource* createSource(void* mem, size_t size); + /// + SDLSource(void* mem, size_t size); /// /// Source destructor. @@ -134,11 +132,6 @@ namespace JinEngine protected: /// - /// Source constructor. - /// - SDLSource(); - - /// /// Decode wav file. /// /// @param mem Wav file data. |