mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 02:30:14 +02:00
code review
This commit is contained in:
parent
b556ddc0ef
commit
ddf2312dc6
2 changed files with 2 additions and 2 deletions
|
@ -22,10 +22,10 @@
|
||||||
#include <SimpleMovingAverage.h>
|
#include <SimpleMovingAverage.h>
|
||||||
#include <shared/RateCounter.h>
|
#include <shared/RateCounter.h>
|
||||||
#include <avatars-renderer/ScriptAvatar.h>
|
#include <avatars-renderer/ScriptAvatar.h>
|
||||||
|
#include <AudioInjector.h>
|
||||||
|
|
||||||
#include "AvatarMotionState.h"
|
#include "AvatarMotionState.h"
|
||||||
#include "MyAvatar.h"
|
#include "MyAvatar.h"
|
||||||
#include "AudioInjector.h"
|
|
||||||
|
|
||||||
|
|
||||||
class AvatarManager : public AvatarHashMap {
|
class AvatarManager : public AvatarHashMap {
|
||||||
|
|
|
@ -422,7 +422,7 @@ void AudioInjector::triggerDeleteAfterFinish() {
|
||||||
AudioInjectorPointer AudioInjector::playSound(SharedSoundPointer sound, const float volume,
|
AudioInjectorPointer AudioInjector::playSound(SharedSoundPointer sound, const float volume,
|
||||||
const float stretchFactor, const glm::vec3 position) {
|
const float stretchFactor, const glm::vec3 position) {
|
||||||
if (!sound || !sound->isReady()) {
|
if (!sound || !sound->isReady()) {
|
||||||
return AudioInjectorPointer(nullptr);
|
return AudioInjectorPointer();
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioInjectorOptions options;
|
AudioInjectorOptions options;
|
||||||
|
|
Loading…
Reference in a new issue