summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/sound.lua
diff options
context:
space:
mode:
author Simon Eriksson <sp1187@users.noreply.github.com>2024-06-29 00:35:32 +0200
committer GitHub <noreply@github.com>2024-06-28 18:35:32 -0400
commit19962ed3504b584f7fe2f588c5abaaa401ca5880 (patch)
treeb5ea28d60a1ec8746c9b365099104b33f81b394c /scripts/src/sound.lua
parent09db2d7fc3a506efd4a136309d270f0aa08ce9fc (diff)
spg2xx: Switch ADPCM algorithm to IMA ADPCM (#12525)
- Also add new IMA ADPCM implementation class for this purpose
Diffstat (limited to 'scripts/src/sound.lua')
-rw-r--r--scripts/src/sound.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index ccbab43419c..ab5c7e5ebfb 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -700,6 +700,20 @@ end
---------------------------------------------------
+-- IMA ADPCM sample player
+--@src/devices/sound/imaadpcm.h,SOUNDS["IMAADPCM"] = true
+---------------------------------------------------
+
+if (SOUNDS["IMAADPCM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/imaadpcm.cpp",
+ MAME_DIR .. "src/devices/sound/imaadpcm.h",
+ }
+end
+
+
+
+---------------------------------------------------
-- OKI ADPCM sample players
--@src/devices/sound/okim6258.h,SOUNDS["OKIM6258"] = true
--@src/devices/sound/msm5205.h,SOUNDS["MSM5205"] = true