Table of Contents

Class AudioRendererFactory

Namespace
VAST.Media
Assembly
VAST.Common.dll

Provides factory method for creating platform specific audio renderer.

public static class AudioRendererFactory
Inheritance
AudioRendererFactory
Inherited Members

Methods

Create(string, IReferenceClock)

Creates a new instance of an audio renderer for the optional device ID. If device ID is null, the default audio output path is used.

public static IAudioRenderer Create(string deviceId = null, IReferenceClock referenceClock = null)

Parameters

deviceId string

Optional identifier of the output audio device.

referenceClock IReferenceClock

Optional reference clock to synchronize audio rendering against.

Returns

IAudioRenderer

An audio renderer instance, or null if not supported.