mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
remove old style walking sounds
This commit is contained in:
parent
7abe5024d9
commit
82ed4a4ae8
6 changed files with 0 additions and 10 deletions
Binary file not shown.
Binary file not shown.
|
@ -357,10 +357,6 @@ bool Audio::getMixerLoopbackFlag() {
|
||||||
return audioData->mixerLoopbackFlag;
|
return audioData->mixerLoopbackFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Audio::setWalkingState(bool newWalkState) {
|
|
||||||
audioData->playWalkSound = newWalkState;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize portaudio and start an audio stream.
|
* Initialize portaudio and start an audio stream.
|
||||||
* Should be called at the beginning of program exection.
|
* Should be called at the beginning of program exection.
|
||||||
|
|
|
@ -28,8 +28,6 @@ public:
|
||||||
float getInputLoudness() const;
|
float getInputLoudness() const;
|
||||||
void updateMixerParams(in_addr_t mixerAddress, in_port_t mixerPort);
|
void updateMixerParams(in_addr_t mixerAddress, in_port_t mixerPort);
|
||||||
|
|
||||||
void setWalkingState(bool newWalkState);
|
|
||||||
|
|
||||||
void setLastAcceleration(glm::vec3 a) { audioData->setLastAcceleration(a); };
|
void setLastAcceleration(glm::vec3 a) { audioData->setLastAcceleration(a); };
|
||||||
void setLastVelocity(glm::vec3 v) { audioData->setLastVelocity(v); };
|
void setLastVelocity(glm::vec3 v) { audioData->setLastVelocity(v); };
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ class AudioData {
|
||||||
float lastInputLoudness;
|
float lastInputLoudness;
|
||||||
|
|
||||||
bool mixerLoopbackFlag;
|
bool mixerLoopbackFlag;
|
||||||
bool playWalkSound;
|
|
||||||
|
|
||||||
// Added avatar acceleration and velocity for procedural effects sounds from client
|
// Added avatar acceleration and velocity for procedural effects sounds from client
|
||||||
void setLastVelocity(glm::vec3 v) { _lastVelocity = v; };
|
void setLastVelocity(glm::vec3 v) { _lastVelocity = v; };
|
||||||
|
|
|
@ -1523,9 +1523,6 @@ void specialkey(int k, int x, int y) {
|
||||||
if (glutGetModifiers() == GLUT_ACTIVE_SHIFT) myAvatar.setDriveKeys(RIGHT, 1);
|
if (glutGetModifiers() == GLUT_ACTIVE_SHIFT) myAvatar.setDriveKeys(RIGHT, 1);
|
||||||
else myAvatar.setDriveKeys(ROT_RIGHT, 1);
|
else myAvatar.setDriveKeys(ROT_RIGHT, 1);
|
||||||
}
|
}
|
||||||
#ifndef _WIN32
|
|
||||||
audio.setWalkingState(true);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue