mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 16:02:08 +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 <shared/RateCounter.h>
|
||||
#include <avatars-renderer/ScriptAvatar.h>
|
||||
#include <AudioInjector.h>
|
||||
|
||||
#include "AvatarMotionState.h"
|
||||
#include "MyAvatar.h"
|
||||
#include "AudioInjector.h"
|
||||
|
||||
|
||||
class AvatarManager : public AvatarHashMap {
|
||||
|
|
|
@ -422,7 +422,7 @@ void AudioInjector::triggerDeleteAfterFinish() {
|
|||
AudioInjectorPointer AudioInjector::playSound(SharedSoundPointer sound, const float volume,
|
||||
const float stretchFactor, const glm::vec3 position) {
|
||||
if (!sound || !sound->isReady()) {
|
||||
return AudioInjectorPointer(nullptr);
|
||||
return AudioInjectorPointer();
|
||||
}
|
||||
|
||||
AudioInjectorOptions options;
|
||||
|
|
Loading…
Reference in a new issue