summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-10 10:40:50 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-10 10:40:50 +0100
commitacf28df86bf2f9a482f05fc8dcefe3eb8be445b5 (patch)
tree0adfd63dc55fede7b47582b883b139058172319a /src
parent0e346c8cd76b279e60f0d2e2acc707d9a457bb44 (diff)
[CHORE] SoundSystem refactors.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src')
-rw-r--r--src/libSoundSystem/SoundSystemKit/VirtualMixer.h6
-rw-r--r--src/libSoundSystem/libASN.json23
-rw-r--r--src/libSoundSystem/libSoundSystem.json3
-rw-r--r--src/libSoundSystem/src/VirtualMixer.cpp2
4 files changed, 8 insertions, 26 deletions
diff --git a/src/libSoundSystem/SoundSystemKit/VirtualMixer.h b/src/libSoundSystem/SoundSystemKit/VirtualMixer.h
index ab705882..e57ff29b 100644
--- a/src/libSoundSystem/SoundSystemKit/VirtualMixer.h
+++ b/src/libSoundSystem/SoundSystemKit/VirtualMixer.h
@@ -8,6 +8,10 @@
#include <libSystem/SystemKit/System.h>
-namespace ASN {}
+namespace SoundSystem {
+ struct VirtualMixer;
+ struct VirtualSource;
+ struct VirtualVolume;
+}
#endif
diff --git a/src/libSoundSystem/libASN.json b/src/libSoundSystem/libASN.json
deleted file mode 100644
index f1a5e267..00000000
--- a/src/libSoundSystem/libASN.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "compiler_path": "x86_64-w64-mingw32-gcc",
- "compiler_std": "c++20",
- "headers_path": ["../", "./"],
- "sources_path": ["src/*.cpp"],
- "output_name": "libASN.dll",
- "compiler_flags": [
- "-ffreestanding",
- "-shared",
- "-fno-rtti",
- "-fno-exceptions",
- "-Wl,--subsystem=17"
- ],
- "cpp_macros": [
- "__NEOSKRNL__",
- "__ASN_AMD64__",
- "__ASN__",
- "kASNVersionHighest=0x0100",
- "kASNVersionLowest=0x0100",
- "kASNVersion=0x0100"
- ],
- "description": "Audio Subsystem for NeKernel—handle multimedia requests."
-}
diff --git a/src/libSoundSystem/libSoundSystem.json b/src/libSoundSystem/libSoundSystem.json
index 9f198100..acb1639d 100644
--- a/src/libSoundSystem/libSoundSystem.json
+++ b/src/libSoundSystem/libSoundSystem.json
@@ -13,8 +13,7 @@
],
"cpp_macros": [
"__NEOSKRNL__",
- "__ASN_AMD64__",
- "__ASN__",
+ "__SOUND_SYSTEM__",
"kASNVersionHighest=0x0100",
"kASNVersionLowest=0x0100",
"kASNVersion=0x0100"
diff --git a/src/libSoundSystem/src/VirtualMixer.cpp b/src/libSoundSystem/src/VirtualMixer.cpp
index af9cbeb5..6ab38bc3 100644
--- a/src/libSoundSystem/src/VirtualMixer.cpp
+++ b/src/libSoundSystem/src/VirtualMixer.cpp
@@ -4,3 +4,5 @@
#include <SoundSystemKit/VirtualMixer.h>
+namespace SoundSystem {}
+