NAP
Classes | Public Member Functions | Public Attributes | List of all members
PortAudioServiceConfiguration Class Reference

#include <audio/service/portaudioservice.h>

Classes

struct  DeviceSettings
 

Public Member Functions

virtual rtti::TypeInfo getServiceType () const
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Public Attributes

DeviceSettings mDeviceSettings
 
bool mAllowChannelCountFailure = true
 
bool mAllowDeviceFailure = true
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

PortAudio service configuration

Inheritance diagram for PortAudioServiceConfiguration:
[legend]
Collaboration diagram for PortAudioServiceConfiguration:
[legend]

Member Function Documentation

◆ getServiceType()

virtual rtti::TypeInfo getServiceType ( ) const
virtual
Returns
The Service type associated with this configuration.

Implements ServiceConfiguration.

Member Data Documentation

◆ mAllowChannelCountFailure

bool mAllowChannelCountFailure = true

If this is set to true, the audio stream will start even if the number of input or output channels is not supported. In this case a zero signal will be used to emulate the input from an unsupported input channel.

◆ mAllowDeviceFailure

bool mAllowDeviceFailure = true

Indicates whether the app will continue to run when the audio device, samplerate and buffersize settings are invalid

◆ mDeviceSettings

DeviceSettings mDeviceSettings

Settings of the audio device to initialize