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
@@ -5,159 +5,324 @@
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CSoundManager::CSoundManager": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::CSoundManager"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::~CSoundManager": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::~CSoundManager"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::Create": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::Create"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::Destroy": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::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)"
|
||||
},
|
||||
"CSoundManager::SetPosition": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetPosition"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetDirection": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetDirection"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::Update": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::Update"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::UpdateSoundData": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::UpdateSoundData"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::UpdateSoundInstance": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::UpdateSoundInstance"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::GetSoundScale": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::GetSoundScale"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetSoundScale": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetSoundScale"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetAmbienceSoundScale": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetAmbienceSoundScale"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetSoundVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetSoundVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::__SetMusicVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::__SetMusicVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::__ConvertRatioVolumeToApplyVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::__ConvertRatioVolumeToApplyVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::__ConvertGradeVolumeToApplyVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::__ConvertGradeVolumeToApplyVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetSoundVolumeGrade": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetSoundVolumeGrade"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetSoundVolumeRatio": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetSoundVolumeRatio"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetMusicVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetMusicVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::GetSoundVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::GetSoundVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::GetMusicVolume": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::GetMusicVolume"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::GetSoundInstance2D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::GetSoundInstance2D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::GetSoundInstance3D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::GetSoundInstance3D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::PlaySound2D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::PlaySound2D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::PlaySound3D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::PlaySound3D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::PlayAmbienceSound3D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::PlayAmbienceSound3D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::PlayCharacterSound3D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::PlayCharacterSound3D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::StopSound3D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::StopSound3D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SetSoundVolume3D": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetSoundVolume3D"
|
||||
],
|
||||
"test": "project/audio_driver_test.gd",
|
||||
"note": "40250 indexed instance volume is forwarded to the active Godot 3D sound player."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::StopAllSound3D": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::StopAllSound3D"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::PlayMusic": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::PlayMusic"
|
||||
],
|
||||
"test": "project/audio_driver_test.gd",
|
||||
"note": "40250 direct PlayMusic uses stream slot 0; the Godot driver now replaces slot 0."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::FadeInMusic": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeInMusic"
|
||||
],
|
||||
"test": "project/audio_driver_test.gd",
|
||||
"note": "40250 named stream fade-in advances by fVolumeSpeed per update; Godot uses three slots and the same per-frame volume step."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::FadeLimitOutMusic": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeLimitOutMusic"
|
||||
],
|
||||
"test": "project/audio_driver_test.gd",
|
||||
"note": "40250 ratio limit is converted by the original volume formula and the named stream fades to that limit."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::FadeOutMusic": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeOutMusic"
|
||||
],
|
||||
"test": "project/audio_driver_test.gd",
|
||||
"note": "40250 fade-out targets only the named active stream and stops it at volume zero."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::FadeOutAllMusic": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeOutAllMusic"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::SaveVolume": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SaveVolume"
|
||||
],
|
||||
"test": "tests/port/port_login_flow_test.cpp",
|
||||
"note": "40250 backup and mute sequence is preserved, including the repeated-save guard."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::RestoreVolume": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::RestoreVolume"
|
||||
],
|
||||
"test": "tests/port/port_login_flow_test.cpp",
|
||||
"note": "40250 clears the disabled flag before restoring backed-up music and sound volumes."
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::StopMusic": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::StopMusic"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::GetMusicIndex": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::GetMusicIndex"
|
||||
],
|
||||
"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)"
|
||||
},
|
||||
"CSoundManager::FadeAll": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeAll"
|
||||
],
|
||||
"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