code review

This commit is contained in:
Seth Alves 2017-07-12 12:45:52 -07:00
parent b556ddc0ef
commit ddf2312dc6
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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;