Switchboard SDK
Loading...
Searching...
No Matches
switchboard::SwitchboardAudioEngineFactory Class Reference

Switchboard audio engine factory. More...

#include <SwitchboardAudioEngineFactory.hpp>

Inheritance diagram for switchboard::SwitchboardAudioEngineFactory:
switchboard::AudioEngineFactory

Public Member Functions

std::string getEngineTypePrefix () override
 The prefix of the engine type.
 
SwitchboardObject * createEngine (const std::string &type, const std::map< std::string, std::any > &config) override
 Creates an audio engine.
 

Detailed Description

Switchboard audio engine factory.

Member Function Documentation

◆ createEngine()

SwitchboardObject * switchboard::SwitchboardAudioEngineFactory::createEngine ( const std::string & type,
const std::map< std::string, std::any > & config )
overridevirtual

Creates an audio engine.

Parameters
typeThe type of the audio engine.
configConfiguration map.
Returns
The created audio engine.

Implements switchboard::AudioEngineFactory.

◆ getEngineTypePrefix()

std::string switchboard::SwitchboardAudioEngineFactory::getEngineTypePrefix ( )
overridevirtual

The prefix of the engine type.

Implements switchboard::AudioEngineFactory.