- cinder::Noncopyable
- cinder::audio::DeviceManager
Platform-specific Singleton for managing hardware devices. Applications normally should not need to use this, but instead should use the equivalent methods from Device .
Show All |
Public Member Functions
-
~DeviceManager ()
-
findDeviceByName (const std::string &name, bool supportsOutput, bool supportsInput)
-
findDeviceByKey (const std::string &key)
-
const std::vector< DeviceRef > &getDevices ()=0
-
getDefaultOutput ()=0
-
getDefaultInput ()=0
-
std::stringgetName (const DeviceRef &device)=0
-
size_tgetNumInputChannels (const DeviceRef &device)=0
-
size_tgetNumOutputChannels (const DeviceRef &device)=0
-
size_tgetSampleRate (const DeviceRef &device)=0
-
size_tgetFramesPerBlock (const DeviceRef &device)=0
-
voidsetSampleRate (const DeviceRef &device, size_t sampleRate)=0
-
voidsetFramesPerBlock (const DeviceRef &device, size_t framesPerBlock)=0
-
signals::Signal< void()> &getSignalInterruptionBegan ()
-
signals::Signal< void()> &getSignalInterruptionEnded ()
Protected Member Functions
Protected Attributes
-
std::vector< DeviceRef >mDevices
-
signals::Signal< void()>mSignalInterruptionBegan
-
signals::Signal< void()>mSignalInterruptionEnded