mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 08:18:05 +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;
|
||||
}
|
||||
|
||||
void Audio::setWalkingState(bool newWalkState) {
|
||||
audioData->playWalkSound = newWalkState;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize portaudio and start an audio stream.
|
||||
* Should be called at the beginning of program exection.
|
||||
|
|
|
@ -28,8 +28,6 @@ public:
|
|||
float getInputLoudness() const;
|
||||
void updateMixerParams(in_addr_t mixerAddress, in_port_t mixerPort);
|
||||
|
||||
void setWalkingState(bool newWalkState);
|
||||
|
||||
void setLastAcceleration(glm::vec3 a) { audioData->setLastAcceleration(a); };
|
||||
void setLastVelocity(glm::vec3 v) { audioData->setLastVelocity(v); };
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ class AudioData {
|
|||
float lastInputLoudness;
|
||||
|
||||
bool mixerLoopbackFlag;
|
||||
bool playWalkSound;
|
||||
|
||||
// Added avatar acceleration and velocity for procedural effects sounds from client
|
||||
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);
|
||||
else myAvatar.setDriveKeys(ROT_RIGHT, 1);
|
||||
}
|
||||
#ifndef _WIN32
|
||||
audio.setWalkingState(true);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue