mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +02:00
Typo
This commit is contained in:
parent
88b3f14000
commit
b0fd28beeb
2 changed files with 4 additions and 4 deletions
|
@ -309,7 +309,7 @@ void Player::setCurrentFrame(int currentFrame) {
|
||||||
|
|
||||||
if (isPlaying()) {
|
if (isPlaying()) {
|
||||||
_timer.start();
|
_timer.start();
|
||||||
setAudionInjectorPosition();
|
setAudioInjectorPosition();
|
||||||
} else {
|
} else {
|
||||||
_pausedFrame = _currentFrame;
|
_pausedFrame = _currentFrame;
|
||||||
}
|
}
|
||||||
|
@ -354,7 +354,7 @@ void Player::setCurrentTime(int currentTime) {
|
||||||
|
|
||||||
if (isPlaying()) {
|
if (isPlaying()) {
|
||||||
_timer.start();
|
_timer.start();
|
||||||
setAudionInjectorPosition();
|
setAudioInjectorPosition();
|
||||||
} else {
|
} else {
|
||||||
_pausedFrame = lowestBound;
|
_pausedFrame = lowestBound;
|
||||||
}
|
}
|
||||||
|
@ -372,7 +372,7 @@ void Player::setAudioOffset(int audioOffset) {
|
||||||
_audioOffset = audioOffset;
|
_audioOffset = audioOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::setAudionInjectorPosition() {
|
void Player::setAudioInjectorPosition() {
|
||||||
int MSEC_PER_SEC = 1000;
|
int MSEC_PER_SEC = 1000;
|
||||||
int SAMPLE_SIZE = 2; // 16 bits
|
int SAMPLE_SIZE = 2; // 16 bits
|
||||||
int CHANNEL_COUNT = 1;
|
int CHANNEL_COUNT = 1;
|
||||||
|
|
|
@ -61,7 +61,7 @@ private:
|
||||||
void setupAudioThread();
|
void setupAudioThread();
|
||||||
void cleanupAudioThread();
|
void cleanupAudioThread();
|
||||||
void loopRecording();
|
void loopRecording();
|
||||||
void setAudionInjectorPosition();
|
void setAudioInjectorPosition();
|
||||||
bool computeCurrentFrame();
|
bool computeCurrentFrame();
|
||||||
|
|
||||||
AvatarData* _avatar;
|
AvatarData* _avatar;
|
||||||
|
|
Loading…
Reference in a new issue