summaryrefslogtreecommitdiff
path: root/source/modules/asura-openal
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-openal')
-rw-r--r--source/modules/asura-openal/sound.cpp0
-rw-r--r--source/modules/asura-openal/sound.h31
-rw-r--r--source/modules/asura-openal/sound_decode_task.cpp0
-rw-r--r--source/modules/asura-openal/sound_decode_task.h25
-rw-r--r--source/modules/asura-openal/sound_decoder.cpp29
-rw-r--r--source/modules/asura-openal/sound_decoder.h30
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