Last active
February 15, 2020 22:28
-
-
Save olokobayusuf/1e3dadf18a74d44eed00512f429b8e8c to your computer and use it in GitHub Desktop.
The fundamental audio device interface in NatDevice, which all audio devices implement.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Audio device which provides sample buffers. | |
/// </summary> | |
public interface IAudioDevice : IMediaDevice { | |
/// <summary> | |
/// Audio sample rate. | |
/// </summary> | |
int sampleRate { get; } | |
/// <summary> | |
/// Audio channel count. | |
/// </summary> | |
int channelCount { get; } | |
/// <summary> | |
/// Start running. | |
/// </summary> | |
/// <param name="@delegate">Delegate to receive sample buffers.</param> | |
void StartRunning (SampleBufferDelegate @delegate); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment