DeviceManagerAudioSession /


Public Member Functions

  • DeviceManagerAudioSession ()
  • ~DeviceManagerAudioSession ()
  • getDefaultOutput () override
  • getDefaultInput () override
  • findDeviceByName (const std::string &name, bool supportsOutput, bool supportsInput) override
  • findDeviceByKey (const std::string &key) override
  • const std::vector< DeviceRef > &
    getDevices () override
  • std::string
    getName (const DeviceRef &device) override
  • size_t
    getNumInputChannels (const DeviceRef &device) override
  • size_t
    getNumOutputChannels (const DeviceRef &device) override
  • size_t
    getSampleRate (const DeviceRef &device) override
  • size_t
    getFramesPerBlock (const DeviceRef &device) override
  • void
    setSampleRate (const DeviceRef &device, size_t sampleRate) override
  • void
    setFramesPerBlock (const DeviceRef &device, size_t framesPerBlock) override
  • void
    setInputEnabled (bool enable=true)
  • bool
    isInputEnabled () const
  • void
    privateBeginInterruption ()
  • void
    privateEndInterruption (bool resumeImmediately)
  • signals::Signal< void()> &
    getSignalInterruptionBegan ()
  • signals::Signal< void()> &
    getSignalInterruptionEnded ()

Protected Member Functions

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

Protected Attributes