made listen mode a typedef

This commit is contained in:
ZappoMan 2013-07-23 18:28:30 -07:00
parent a12ebc63c3
commit 13ba913fab

View file

@ -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);
@ -99,7 +99,7 @@ private:
float _heartbeatMagnitude;
int _sourceID;
int _listenMode;
AudioRingBuffer::ListenMode _listenMode;
float _listenRadius;
int _listenSourceCount;
int _listenSourcesArraySize;