MilesLib: run the 40250 sound sources verbatim over an AIL software mixer
Copy SoundBase/SoundData/SoundInstance*/SoundManager*/Type from 40250 and implement the AIL_* calls they make in MilesAil.cpp (2D pan, 3D distance and listener pan, threaded stream decode, loop counts). The SDL host drains the mixer. CSoundManager is created/updated/destroyed where 40250 does it and the old AudioCommands bridge is removed. Port-map MilesLib 142/142 PORTED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d509f0a8b4
commit
11991d4d1f
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"reference": "MilesLib/SoundData.cpp",
|
||||
"reference_sha256": "f028e41436c108c8b24018fa0a7d6b11eecaca942086c71b6d82e1d340703fb5",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CSoundData::GetFileName": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::GetFileName"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::Assign": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::Assign"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::Get": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::Get"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::GetSize": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::GetSize"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::Release": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::Release"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::GetPlayTime": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::GetPlayTime"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::SetPlayTime": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::SetPlayTime"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::GetAccessTime": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::GetAccessTime"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::ReadFromDisk": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::ReadFromDisk"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp); the unused QueryPerformanceCounter local is dropped (no effect)"
|
||||
},
|
||||
"CSoundData::isSlotIndex": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::isSlotIndex"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::GetEmptySlotIndex": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::GetEmptySlotIndex"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::open_callback": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::open_callback"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::close_callback": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::close_callback"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::seek_callback": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::seek_callback"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::read_callback": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::read_callback"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::SetPackMode": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::SetPackMode"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::Destroy": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::Destroy"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::CSoundData": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::CSoundData"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
},
|
||||
"CSoundData::~CSoundData": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundData.cpp:CSoundData::~CSoundData"
|
||||
],
|
||||
"test": "tests/port/port_miles_test.cpp",
|
||||
"note": "verbatim 40250 source over the AIL_* emulation in src/platform/MilesLib/MilesAil.cpp (software mixer drained by src/host/native_audio.cpp)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user