openshot-audio  0.1.6
Public Member Functions | List of all members
iOSAudioIODeviceType Class Reference
Inheritance diagram for iOSAudioIODeviceType:
AudioIODeviceType

Public Member Functions

 iOSAudioIODeviceType ()
 
void scanForDevices ()
 
StringArray getDeviceNames (bool) const
 
int getDefaultDeviceIndex (bool) const
 
int getIndexOfDevice (AudioIODevice *d, bool) const
 
bool hasSeparateInputsAndOutputs () const
 
AudioIODevicecreateDevice (const String &outputDeviceName, const String &inputDeviceName)
 
- Public Member Functions inherited from AudioIODeviceType
const StringgetTypeName () const noexcept
 
void addListener (Listener *listener)
 
void removeListener (Listener *listener)
 
virtual ~AudioIODeviceType ()
 

Additional Inherited Members

- Static Public Member Functions inherited from AudioIODeviceType
static AudioIODeviceTypecreateAudioIODeviceType_CoreAudio ()
 
static AudioIODeviceTypecreateAudioIODeviceType_iOSAudio ()
 
static AudioIODeviceTypecreateAudioIODeviceType_WASAPI (bool exclusiveMode)
 
static AudioIODeviceTypecreateAudioIODeviceType_DirectSound ()
 
static AudioIODeviceTypecreateAudioIODeviceType_ASIO ()
 
static AudioIODeviceTypecreateAudioIODeviceType_ALSA ()
 
static AudioIODeviceTypecreateAudioIODeviceType_JACK ()
 
static AudioIODeviceTypecreateAudioIODeviceType_Android ()
 
static AudioIODeviceTypecreateAudioIODeviceType_OpenSLES ()
 
- Protected Member Functions inherited from AudioIODeviceType
 AudioIODeviceType (const String &typeName)
 
void callDeviceChangeListeners ()
 

Constructor & Destructor Documentation

◆ iOSAudioIODeviceType()

iOSAudioIODeviceType::iOSAudioIODeviceType ( )
inline

Member Function Documentation

◆ createDevice()

AudioIODevice* iOSAudioIODeviceType::createDevice ( const String outputDeviceName,
const String inputDeviceName 
)
inlinevirtual

Creates one of the devices of this type.

The deviceName must be one of the strings returned by getDeviceNames(), and scanForDevices() must have been called before this method is used.

Implements AudioIODeviceType.

◆ getDefaultDeviceIndex()

int iOSAudioIODeviceType::getDefaultDeviceIndex ( bool  forInput) const
inlinevirtual

Returns the name of the default device.

This will be one of the names from the getDeviceNames() list.

Parameters
forInputif true, this means that a default input device should be returned; if false, it should return the default output

Implements AudioIODeviceType.

◆ getDeviceNames()

StringArray iOSAudioIODeviceType::getDeviceNames ( bool  wantInputNames) const
inlinevirtual

Returns the list of available devices of this type.

The scanForDevices() method must have been called to create this list.

Parameters
wantInputNamesonly really used by DirectSound where devices are split up into inputs and outputs, this indicates whether to use the input or output name to refer to a pair of devices.

Implements AudioIODeviceType.

◆ getIndexOfDevice()

int iOSAudioIODeviceType::getIndexOfDevice ( AudioIODevice device,
bool  asInput 
) const
inlinevirtual

Returns the index of a given device in the list of device names. If asInput is true, it shows the index in the inputs list, otherwise it looks for it in the outputs list.

Implements AudioIODeviceType.

◆ hasSeparateInputsAndOutputs()

bool iOSAudioIODeviceType::hasSeparateInputsAndOutputs ( ) const
inlinevirtual

Returns true if two different devices can be used for the input and output.

Implements AudioIODeviceType.

◆ scanForDevices()

void iOSAudioIODeviceType::scanForDevices ( )
inlinevirtual

Refreshes the object's cached list of known devices.

This must be called at least once before calling getDeviceNames() or any of the other device creation methods.

Implements AudioIODeviceType.


The documentation for this class was generated from the following file: