mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:44:08 +02:00
made listen mode a typedef
This commit is contained in:
parent
a12ebc63c3
commit
13ba913fab
1 changed files with 7 additions and 7 deletions
|
@ -56,7 +56,7 @@ public:
|
|||
|
||||
int getSourceID() const { return _sourceID; };
|
||||
void setSourceID(int sourceID) { _sourceID = sourceID; };
|
||||
void setListenMode(int mode) { _listenMode = mode; };
|
||||
void setListenMode(AudioRingBuffer::ListenMode mode) { _listenMode = mode; };
|
||||
void setListenRadius(float radius) { _listenRadius = radius; };
|
||||
void addListenSource(int sourceID);
|
||||
void removeListenSource(int sourceID);
|
||||
|
@ -98,12 +98,12 @@ private:
|
|||
int _proceduralEffectSample;
|
||||
float _heartbeatMagnitude;
|
||||
|
||||
int _sourceID;
|
||||
int _listenMode;
|
||||
float _listenRadius;
|
||||
int _listenSourceCount;
|
||||
int _listenSourcesArraySize;
|
||||
int* _listenSources;
|
||||
int _sourceID;
|
||||
AudioRingBuffer::ListenMode _listenMode;
|
||||
float _listenRadius;
|
||||
int _listenSourceCount;
|
||||
int _listenSourcesArraySize;
|
||||
int* _listenSources;
|
||||
|
||||
// Audio callback in class context.
|
||||
inline void performIO(int16_t* inputLeft, int16_t* outputLeft, int16_t* outputRight);
|
||||
|
|
Loading…
Reference in a new issue