Synced
IAudioBackendFactory.CreateDevice
Section titled “IAudioBackendFactory.CreateDevice”
- Creates a new audio device for one runtime audio generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Adapter.Audio
Declaration
Section titled “Declaration”Inno.Audio.IAudioDevice Inno.Adapter.Audio.IAudioBackendFactory.CreateDevice(Inno.Adapter.Audio.AudioBackendId backend, Inno.Adapter.Audio.AudioBackendOptions options = default(Inno.Adapter.Audio.AudioBackendOptions))Parameters
Section titled “Parameters”Parameter backend: audio implementation selected by the composition root.
Parameter options: Backend-neutral device options.
Returns
Section titled “Returns”A caller-owned backend-neutral audio device.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: Thrown when the catalog does not contain the selected backend.