mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 09:09:15 +01:00
Rename unused audio member
This commit is contained in:
parent
4f8993e19b
commit
f1545daeae
@ -29,7 +29,7 @@ cAudioManager::cAudioManager()
|
|||||||
ClearRequestedQueue();
|
ClearRequestedQueue();
|
||||||
ClearActiveSamples();
|
ClearActiveSamples();
|
||||||
GenerateIntegerRandomNumberTable();
|
GenerateIntegerRandomNumberTable();
|
||||||
field_4 = 0;
|
m_bDoubleVolume = FALSE;
|
||||||
m_bDynamicAcousticModelingStatus = TRUE;
|
m_bDynamicAcousticModelingStatus = TRUE;
|
||||||
|
|
||||||
for (int i = 0; i < NUM_AUDIOENTITIES; i++) {
|
for (int i = 0; i < NUM_AUDIOENTITIES; i++) {
|
||||||
@ -849,13 +849,13 @@ cAudioManager::ProcessActiveQueues()
|
|||||||
if (!sample.m_bReleasingSoundFlag) {
|
if (!sample.m_bReleasingSoundFlag) {
|
||||||
if (sample.m_bIs2D) {
|
if (sample.m_bIs2D) {
|
||||||
#ifdef EXTERNAL_3D_SOUND
|
#ifdef EXTERNAL_3D_SOUND
|
||||||
if (field_4) {
|
if (m_bDoubleVolume) {
|
||||||
emittingVol = 2 * Min(63, sample.m_nEmittingVolume);
|
emittingVol = 2 * Min(63, sample.m_nEmittingVolume);
|
||||||
} else {
|
} else {
|
||||||
emittingVol = sample.m_nEmittingVolume;
|
emittingVol = sample.m_nEmittingVolume;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (field_4) {
|
if (m_bDoubleVolume) {
|
||||||
emittingVol = 2 * Min(63, sample.m_nVolume);
|
emittingVol = 2 * Min(63, sample.m_nVolume);
|
||||||
} else {
|
} else {
|
||||||
emittingVol = sample.m_nVolume;
|
emittingVol = sample.m_nVolume;
|
||||||
@ -897,7 +897,7 @@ cAudioManager::ProcessActiveQueues()
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8 emittingVol;
|
uint8 emittingVol;
|
||||||
if (field_4) {
|
if (m_bDoubleVolume) {
|
||||||
emittingVol = 2 * Min(63, vol);
|
emittingVol = 2 * Min(63, vol);
|
||||||
} else {
|
} else {
|
||||||
emittingVol = vol;
|
emittingVol = vol;
|
||||||
@ -915,7 +915,7 @@ cAudioManager::ProcessActiveQueues()
|
|||||||
m_asActiveSamples[j].m_nVolume = vol;
|
m_asActiveSamples[j].m_nVolume = vol;
|
||||||
|
|
||||||
uint8 emittingVol;
|
uint8 emittingVol;
|
||||||
if (field_4) {
|
if (m_bDoubleVolume) {
|
||||||
emittingVol = 2 * Min(63, vol);
|
emittingVol = 2 * Min(63, vol);
|
||||||
} else {
|
} else {
|
||||||
emittingVol = vol;
|
emittingVol = vol;
|
||||||
@ -973,13 +973,13 @@ cAudioManager::ProcessActiveQueues()
|
|||||||
|
|
||||||
}
|
}
|
||||||
#ifdef EXTERNAL_3D_SOUND
|
#ifdef EXTERNAL_3D_SOUND
|
||||||
if (field_4) {
|
if (m_bDoubleVolume) {
|
||||||
emittingVol = 2 * Min(63, m_asActiveSamples[j].m_nEmittingVolume);
|
emittingVol = 2 * Min(63, m_asActiveSamples[j].m_nEmittingVolume);
|
||||||
} else {
|
} else {
|
||||||
emittingVol = m_asActiveSamples[j].m_nEmittingVolume;
|
emittingVol = m_asActiveSamples[j].m_nEmittingVolume;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (field_4) {
|
if (m_bDoubleVolume) {
|
||||||
emittingVol = 2 * Min(63, m_asActiveSamples[j].m_nVolume);
|
emittingVol = 2 * Min(63, m_asActiveSamples[j].m_nVolume);
|
||||||
} else {
|
} else {
|
||||||
emittingVol = m_asActiveSamples[j].m_nVolume;
|
emittingVol = m_asActiveSamples[j].m_nVolume;
|
||||||
|
@ -195,7 +195,7 @@ public:
|
|||||||
bool8 m_bReverb; // unused
|
bool8 m_bReverb; // unused
|
||||||
bool8 m_bFifthFrameFlag;
|
bool8 m_bFifthFrameFlag;
|
||||||
uint8 m_nActiveSamples;
|
uint8 m_nActiveSamples;
|
||||||
uint8 field_4; // unused
|
uint8 m_bDoubleVolume; // unused
|
||||||
bool8 m_bDynamicAcousticModelingStatus;
|
bool8 m_bDynamicAcousticModelingStatus;
|
||||||
float m_fSpeedOfSound;
|
float m_fSpeedOfSound;
|
||||||
bool8 m_bTimerJustReset;
|
bool8 m_bTimerJustReset;
|
||||||
|
Loading…
Reference in New Issue
Block a user