mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 23:49:55 +02:00
34 lines
695 B
C++
34 lines
695 B
C++
//
|
|
// AudioInjector.h
|
|
// hifi
|
|
//
|
|
// Created by Stephen Birarda on 1/2/2014.
|
|
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
|
//
|
|
|
|
#ifndef __hifi__AudioInjector__
|
|
#define __hifi__AudioInjector__
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QThread>
|
|
|
|
#include <glm/glm.hpp>
|
|
#include <glm/gtx/quaternion.hpp>
|
|
|
|
#include "AudioInjectorOptions.h"
|
|
#include "Sound.h"
|
|
|
|
class AudioInjector : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
AudioInjector(Sound* sound, const AudioInjectorOptions& injectorOptions);
|
|
private:
|
|
Sound* _sound;
|
|
AudioInjectorOptions _options;
|
|
public slots:
|
|
void injectAudio();
|
|
signals:
|
|
void finished();
|
|
};
|
|
|
|
#endif /* defined(__hifi__AudioInjector__) */
|