VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae::core::Backend Class Referenceabstract

Backend interface used to query devices before creating a actual device object. More...

#include <vae_backend.hpp>

Inheritance diagram for vae::core::Backend:
Collaboration diagram for vae::core::Backend:

Public Member Functions

virtual const char * getName () const =0
 Returns name of the api. More...
 
virtual Size getDeviceCount ()=0
 Gets number of devices, needed to iterate them. More...
 
virtual DeviceInfo getDevice (Size index)=0
 Returns a spefic device info for index. More...
 
virtual DeviceInfo getDefaultInputDevice ()=0
 
virtual DeviceInfo getDefaultOutputDevice ()=0
 
virtual DevicecreateDevice (const EngineConfig &)=0
 Creates a device instance for this backend. More...
 

Detailed Description

Backend interface used to query devices before creating a actual device object.

Definition at line 14 of file vae_backend.hpp.

Member Function Documentation

◆ createDevice()

virtual Device * vae::core::Backend::createDevice ( const EngineConfig )
pure virtual

Creates a device instance for this backend.

Implemented in vae::core::BackendDummy, vae::core::BackendPortAudio, and vae::core::BackendRtAudio.

Here is the caller graph for this function:

◆ getDefaultInputDevice()

virtual DeviceInfo vae::core::Backend::getDefaultInputDevice ( )
pure virtual

Implemented in vae::core::BackendDummy, vae::core::BackendPortAudio, and vae::core::BackendRtAudio.

Here is the caller graph for this function:

◆ getDefaultOutputDevice()

virtual DeviceInfo vae::core::Backend::getDefaultOutputDevice ( )
pure virtual

Implemented in vae::core::BackendDummy, vae::core::BackendPortAudio, and vae::core::BackendRtAudio.

Here is the caller graph for this function:

◆ getDevice()

virtual DeviceInfo vae::core::Backend::getDevice ( Size  index)
pure virtual

Returns a spefic device info for index.

Implemented in vae::core::BackendDummy, vae::core::BackendPortAudio, and vae::core::BackendRtAudio.

◆ getDeviceCount()

virtual Size vae::core::Backend::getDeviceCount ( )
pure virtual

Gets number of devices, needed to iterate them.

Device index != does not have to be the device index!

Implemented in vae::core::BackendDummy, vae::core::BackendPortAudio, and vae::core::BackendRtAudio.

Here is the caller graph for this function:

◆ getName()

virtual const char * vae::core::Backend::getName ( ) const
pure virtual

Returns name of the api.

Implemented in vae::core::BackendDummy, vae::core::BackendPortAudio, and vae::core::BackendRtAudio.

Here is the caller graph for this function:

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