ホーム › Media.Audio › EDataFlow
EDataFlow
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| eRender | 0 | 0x0 | オーディオレンダリングストリームです。オーディオデータはアプリケーションから、ストリームをレンダリングするオーディオエンドポイントデバイスへ流れます。 |
| eCapture | 1 | 0x1 | オーディオキャプチャストリームです。オーディオデータは、ストリームをキャプチャするオーディオエンドポイントデバイスからアプリケーションへ流れます。 |
| eAll | 2 | 0x2 | オーディオレンダリングストリームまたはキャプチャストリームです。オーディオデータは、アプリケーションからオーディオエンドポイントデバイスへ、またはオーディオエンドポイントデバイスからアプリケーションへ、どちらの方向にも流れることができます。 |
| EDataFlow_enum_count | 3 | 0x3 | EDataFlow 列挙型のメンバーの数です (EDataFlow_enum_count メンバーは数に含みません)。 |
公式ドキュメント
EDataFlow 列挙型は、オーディオエンドポイントデバイスとアプリケーションの間でオーディオデータが流れる方向を示す定数を定義します。
解説(Remarks)
IMMDeviceEnumerator::GetDefaultAudioEndpoint、IMMDeviceEnumerator::EnumAudioEndpoints、IMMEndpoint::GetDataFlow、IMMNotificationClient::OnDefaultDeviceChanged の各メソッドは、EDataFlow 列挙型で定義された定数を使用します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum EDataFlow : int {
eRender = 0,
eCapture = 1,
eAll = 2,
EDataFlow_enum_count = 3
} EDataFlow;public enum EDataFlow : int
{
eRender = 0,
eCapture = 1,
eAll = 2,
EDataFlow_enum_count = 3,
}Public Enum EDataFlow As Integer
eRender = 0
eCapture = 1
eAll = 2
EDataFlow_enum_count = 3
End Enumimport enum
class EDataFlow(enum.IntEnum):
eRender = 0
eCapture = 1
eAll = 2
EDataFlow_enum_count = 3// EDataFlow
pub const eRender: i32 = 0;
pub const eCapture: i32 = 1;
pub const eAll: i32 = 2;
pub const EDataFlow_enum_count: i32 = 3;// EDataFlow
const (
eRender int32 = 0
eCapture int32 = 1
eAll int32 = 2
EDataFlow_enum_count int32 = 3
)const
eRender = 0;
eCapture = 1;
eAll = 2;
EDataFlow_enum_count = 3;// EDataFlow
pub const eRender: i32 = 0;
pub const eCapture: i32 = 1;
pub const eAll: i32 = 2;
pub const EDataFlow_enum_count: i32 = 3;const
eRender* = 0
eCapture* = 1
eAll* = 2
EDataFlow_enum_count* = 3enum EDataFlow : int {
eRender = 0,
eCapture = 1,
eAll = 2,
EDataFlow_enum_count = 3,
}#define global eRender 0x0
#define global eCapture 0x1
#define global eAll 0x2
#define global EDataFlow_enum_count 0x3