DeviceManager /

#includecinder/audio/Device.h

Platform-specific Singleton for managing hardware devices. Applications normally should not need to use this, but instead should use the equivalent methods from Device .


Public Member Functions

  • ~DeviceManager ()
  • findDeviceByName (const std::string &name)
  • findDeviceByKey (const std::string &key)
  • const std::vector< DeviceRef > &
    getDevices ()=0
  • getDefaultOutput ()=0
  • getDefaultInput ()=0
  • getName (const DeviceRef &device)=0
  • size_t
    getNumInputChannels (const DeviceRef &device)=0
  • size_t
    getNumOutputChannels (const DeviceRef &device)=0
  • size_t
    getSampleRate (const DeviceRef &device)=0
  • size_t
    getFramesPerBlock (const DeviceRef &device)=0
  • setSampleRate (const DeviceRef &device, size_t sampleRate)=0
  • setFramesPerBlock (const DeviceRef &device, size_t framesPerBlock)=0
  • getSignalInterruptionBegan ()
  • getSignalInterruptionEnded ()

Protected Member Functions

  • DeviceManager ()
  • addDevice (const std::string &key)
  • emitParamsWillChange (const DeviceRef &device)
  • emitParamsDidChange (const DeviceRef &device)

Protected Attributes