Class AudioDevices
The audio devices of the platform the app runs on.
Inherited Members
Namespace: Uniform.Matrix.Audio
Assembly: Uniform.Matrix.Audio.dll
Syntax
public static class AudioDevices
Methods
| Edit this page View SourceForThisPlatform(string?, string?)
Return the devices of this platform: ALSA on Linux, WASAPI on Windows; null elsewhere, e.g. on Android, whose app supplies its own IAudioDevices.
Declaration
public static IAudioDevices? ForThisPlatform(string? microphone = null, string? speaker = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | microphone | Microphone to use, by name; the system's default when null or empty. |
| string | speaker | Speaker to use, by name; the system's default when null or empty. |
Returns
| Type | Description |
|---|---|
| IAudioDevices |