AudioEngineFactory Class
Namespace: Stride.AudioAssembly: Stride.Audio.dll
System.Object →
AudioEngineFactory
Derived from AudioEngineFactory:
public static class AudioEngineFactory
Name | Description | |
---|---|---|
Methods | ||
NewAudioEngine(AudioDevice, AudioLayer.DeviceFlags) | Based on compilation setting, returns the proper instance of sounds. |
Methods
NewAudioEngine(AudioDevice, AudioLayer.DeviceFlags)
Based on compilation setting, returns the proper instance of sounds.
public static AudioEngine NewAudioEngine(AudioDevice device = null, AudioLayer.DeviceFlags deviceFlags = AudioLayer.DeviceFlags.None)
Parameters
Type | Name | Description |
---|---|---|
AudioDevice | device | |
AudioLayer.DeviceFlags | deviceFlags |
Returns
Type | Description |
---|---|
AudioEngine | A platform specific instance of AudioEngine |