11#include <CoreAudio/AudioHardwareBase.h>
41 return kAudioHardwareNoError;
60 return std::make_shared<Client>(clientInfo);
Handler for control requests to device.
virtual OSStatus OnStartIO()
Invoked by Device when the very first client wants to start I/O. If desired, may block to perform all...
virtual void OnRemoveClient(std::shared_ptr< Client > client)
Invoked by Device when a client detaches from it. Override to handle client removal....
virtual std::shared_ptr< Client > OnAddClient(const ClientInfo &clientInfo)
Invoked by Device when a new client attaches to it. Override to handle client creation....
virtual void OnStopIO()
Invoked by Device when the last client has stopped I/O. After this call, StartIO() may be called agai...
Information about client.