Files
mtgodot-poc/audit/port-map/MilesLib/SoundManager.cpp.json
T
shenleiandClaude Opus 5.5 11991d4d1f 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>
2026-09-30 12:07:37 +09:00

329 lines
15 KiB
JSON

{
"reference": "MilesLib/SoundManager.cpp",
"reference_sha256": "6602fcd22004c2335634a4a4041c33409174ef11c583f4e257dda676f5b9229e",
"priority": "P4",
"contracts": [],
"functions": {
"CSoundManager::CSoundManager": {
"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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SetSoundVolume3D"
],
"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": "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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::PlayMusic"
],
"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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeInMusic"
],
"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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeLimitOutMusic"
],
"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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::FadeOutMusic"
],
"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": "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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::SaveVolume"
],
"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": "PORTED",
"impl": [
"src/platform/MilesLib/SoundManager.cpp:CSoundManager::RestoreVolume"
],
"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": "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": "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": "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)"
}
}
}