That last commit was a bit more than I intended. Oh well. It (and this one) simplify the property listener code and add more listeners.
This commit is contained in:
@@ -34,6 +34,7 @@ private:
|
|||||||
|
|
||||||
void AddListener( AudioDevicePropertyID propertyID,
|
void AddListener( AudioDevicePropertyID propertyID,
|
||||||
AudioDevicePropertyListenerProc handler, const char *name );
|
AudioDevicePropertyListenerProc handler, const char *name );
|
||||||
|
void RemoveListeners();
|
||||||
static OSStatus GetData( AudioDeviceID inDevice,
|
static OSStatus GetData( AudioDeviceID inDevice,
|
||||||
const AudioTimeStamp *inNow,
|
const AudioTimeStamp *inNow,
|
||||||
const AudioBufferList *inInputData,
|
const AudioBufferList *inInputData,
|
||||||
|
|||||||
Reference in New Issue
Block a user