4#ifndef QAUDIOENGINE_P_H
5#define QAUDIOENGINE_P_H
18#include <qtspatialaudioglobal_p.h>
19#include <qaudioengine.h>
20#include <qaudiodevice.h>
21#include <qaudiodecoder.h>
25#include <qaudiobuffer.h>
std::unique_ptr< QAudioDecoder > decoder
QAtomicInteger< bool > m_playing
QAmbientSoundPrivate(QObject *parent, int nchannels=2)
QList< QAudioBuffer > buffers
static QAmbientSoundPrivate * get(T *soundSource)
QAtomicInteger< bool > m_autoPlay
void getBuffer(float *buf, int frames, int channels)
std::unique_ptr< QFile > sourceDeviceFile
std::unique_ptr< QAudioOutputStream > outputStream
bool listenerPositionDirty
vraudio::ResonanceAudio * resonanceAudio
void addRoom(QAudioRoom *room)
void addStereoSound(QAmbientSound *sound)
QAtomicInteger< bool > paused
QVector3D listenerPosition() const
void removeRoom(QAudioRoom *room)
void addSpatialSound(QSpatialSound *sound)
QAudioEngine::OutputMode outputMode
static QAudioEnginePrivate * get(QAudioEngine *engine)
QList< QAmbientSound * > stereoSources
QList< QSpatialSound * > sources
void removeStereoSound(QAmbientSound *sound)
void removeSpatialSound(QSpatialSound *sound)
QList< QAudioRoom * > rooms
QAudioListener * listener
static constexpr int bufferSize
Combined button and popup list for selecting options.