Files
UmaViewer/Assets/Scripts/Audio/NAudio/CoreAudioApi/DataFlow.cs
T
2022-09-10 16:59:44 +08:00

30 lines
951 B
C#

using System;
namespace NAudio.CoreAudioApi
{
/// <summary>
/// The EDataFlow enumeration defines constants that indicate the direction
/// in which audio data flows between an audio endpoint device and an application
/// </summary>
public enum DataFlow
{
/// <summary>
/// Audio rendering stream.
/// Audio data flows from the application to the audio endpoint device, which renders the stream.
/// </summary>
Render,
/// <summary>
/// Audio capture stream. Audio data flows from the audio endpoint device that captures the stream,
/// to the application
/// </summary>
Capture,
/// <summary>
/// Audio rendering or capture stream. Audio data can flow either from the application to the audio
/// endpoint device, or from the audio endpoint device to the application.
/// </summary>
All
};
}