FQLab
A spectral audio sandbox
 
Loading...
Searching...
No Matches
FQLab.AudioEngineFactory Class Reference

Creates audio engines based on user setups. More...

Inheritance diagram for FQLab.AudioEngineFactory:
Inheritance graph
Collaboration diagram for FQLab.AudioEngineFactory:
Collaboration graph

Public Member Functions

AudioEngineFactoryResult Create (IAudioStream audioStream, bool withDataExport=false, string? alternatePluginPath=null)
 Creates an engine with a stream injected in order for their lifespans to match.
 

Private Attributes

string _defaultPluginPath = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "plugins"))
 

Detailed Description

Creates audio engines based on user setups.

Member Function Documentation

◆ Create()

AudioEngineFactoryResult FQLab.AudioEngineFactory.Create ( IAudioStream  audioStream,
bool  withDataExport = false,
string?  alternatePluginPath = null 
)
inline

Creates an engine with a stream injected in order for their lifespans to match.

Parameters
audioStreamStream of decoded file, ready for consumption.
withDataExportOptional flag when user wants to use the engine with a view.
alternatePluginPathAlternate location for sourcing plugins.
Returns
Audio engine and optional View

Implements FQLab.IAudioEngineFactory.

Here is the call graph for this function:

Member Data Documentation

◆ _defaultPluginPath

string FQLab.AudioEngineFactory._defaultPluginPath = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "plugins"))
private

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