mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Basic Surround Sound support. (#6204)
This commit is contained in:
parent
e2db315ffa
commit
a365446832
|
|
@ -1 +1 @@
|
|||
Subproject commit 8c55f607f2249f3ac696fc0f7277553fe3ce75a6
|
||||
Subproject commit 5c8b975de422c71fd6cda44ada5543c9067f57a2
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
#include <libultraship/libultra.h>
|
||||
#include <libultraship/bridge/audiobridge.h>
|
||||
#include "global.h"
|
||||
#include "soh/OTRGlobals.h"
|
||||
#include "soh/Enhancements/audio/AudioEditor.h"
|
||||
|
|
@ -4970,18 +4971,26 @@ void func_800F6700(s8 arg0) {
|
|||
case 0:
|
||||
sp1F = 0;
|
||||
D_80130604 = 0;
|
||||
// SOH [Port] Inform LUS of audio setting change
|
||||
SetAudioChannels(audioStereo);
|
||||
break;
|
||||
case 1:
|
||||
sp1F = 3;
|
||||
D_80130604 = 3;
|
||||
// SOH [Port] Inform LUS of audio setting change
|
||||
SetAudioChannels(audioStereo);
|
||||
break;
|
||||
case 2:
|
||||
sp1F = 1;
|
||||
D_80130604 = 1;
|
||||
// SOH [Port] Inform LUS of audio setting change
|
||||
SetAudioChannels(audioStereo);
|
||||
break;
|
||||
case 3:
|
||||
sp1F = 0;
|
||||
D_80130604 = 2;
|
||||
// SOH [Port] Inform LUS of audio setting change
|
||||
SetAudioChannels(audioMatrix51);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue