diff options
author | chai <chaifix@163.com> | 2019-03-29 22:51:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-29 22:51:04 +0800 |
commit | c302f5ae5f9e30a28e487e8a764d9cc31546bbea (patch) | |
tree | 7f18bedeece950600336ea7ced7c52c468552c98 /source/modules/asura-openal | |
parent | 157530b8b6e11efc5573d5a0db8987a440197aa1 (diff) |
*rename
Diffstat (limited to 'source/modules/asura-openal')
-rw-r--r-- | source/modules/asura-openal/sound.cpp | 0 | ||||
-rw-r--r-- | source/modules/asura-openal/sound.h | 31 | ||||
-rw-r--r-- | source/modules/asura-openal/sound_decode_task.cpp | 0 | ||||
-rw-r--r-- | source/modules/asura-openal/sound_decode_task.h | 25 | ||||
-rw-r--r-- | source/modules/asura-openal/sound_decoder.cpp | 29 | ||||
-rw-r--r-- | source/modules/asura-openal/sound_decoder.h | 30 |
6 files changed, 115 insertions, 0 deletions
diff --git a/source/modules/asura-openal/sound.cpp b/source/modules/asura-openal/sound.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/modules/asura-openal/sound.cpp diff --git a/source/modules/asura-openal/sound.h b/source/modules/asura-openal/sound.h new file mode 100644 index 0000000..2b0eab0 --- /dev/null +++ b/source/modules/asura-openal/sound.h @@ -0,0 +1,31 @@ +#ifndef __ASURA_ENGINE_SOUND_H__ +#define __ASURA_ENGINE_SOUND_H__ + +#include <asura-utils/scripting/portable.hpp> + +namespace AsuraEngine +{ + namespace Audio + { + + /// + /// Ƶļ + /// + class Sound ASURA_FINAL + : public AEScripting::Portable<Sound> + { + public: + + Sound(); + ~Sound(); + + private: + + + + }; + + } +} + +#endif
\ No newline at end of file diff --git a/source/modules/asura-openal/sound_decode_task.cpp b/source/modules/asura-openal/sound_decode_task.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/modules/asura-openal/sound_decode_task.cpp diff --git a/source/modules/asura-openal/sound_decode_task.h b/source/modules/asura-openal/sound_decode_task.h new file mode 100644 index 0000000..9587276 --- /dev/null +++ b/source/modules/asura-openal/sound_decode_task.h @@ -0,0 +1,25 @@ +#ifndef __ASURA_OPENAL_SOUND_DECODER_TASK_H__ +#define __ASURA_OPENAL_SOUND_DECODER_TASK_H__ + +#include <asura-utils/threading/thread_task.h> + +namespace AsuraEngine +{ + namespace OpenAL + { + + /// + /// Ƶļ + /// + class SoundDecodeTask : public AEThreading::ThreadTask + { + public: + + private: + + }; + + } +} + +#endif
\ No newline at end of file diff --git a/source/modules/asura-openal/sound_decoder.cpp b/source/modules/asura-openal/sound_decoder.cpp new file mode 100644 index 0000000..ad9f761 --- /dev/null +++ b/source/modules/asura-openal/sound_decoder.cpp @@ -0,0 +1,29 @@ +#ifndef __ASURA_ENGINE_SOUND_DECODER_H__ +#define __ASURA_ENGINE_SOUND_DECODER_H__ + +#include "Sound.h" +#include "FileSystem/DataBuffer.h" + +namespace AsuraEngine +{ + namespace Audio + { + + /// + /// Ƶļ + /// + class SoundDecoder + { + public: + + SoundDecoder(); + virtual ~SoundDecoder(); + + virtual Sound* Decode(const Filesystem::DataBuffer* db); + + }; + + } +} + +#endif
\ No newline at end of file diff --git a/source/modules/asura-openal/sound_decoder.h b/source/modules/asura-openal/sound_decoder.h new file mode 100644 index 0000000..e28a5a9 --- /dev/null +++ b/source/modules/asura-openal/sound_decoder.h @@ -0,0 +1,30 @@ +#ifndef __ASURA_ENGINE_SOUND_DECODER_H__ +#define __ASURA_ENGINE_SOUND_DECODER_H__ + +#include <asura-utils/io/data_buffer.h> + +#include "sound.h" + +namespace AsuraEngine +{ + namespace Audio + { + + /// + /// Ƶļ + /// + class SoundDecoder + { + public: + + SoundDecoder(); + virtual ~SoundDecoder(); + + virtual Sound* Decode(const AEIO::DataBuffer* db); + + }; + + } +} + +#endif
\ No newline at end of file |