AudioDeviceInputNode クラス

定義

マイクや外部オーディオ インターフェイスなどのオーディオ デバイスからグラフにオーディオ データを入力するオーディオ グラフ ノード内のノードを表します。

public ref class AudioDeviceInputNode sealed : IClosable
public ref class AudioDeviceInputNode sealed : IClosable, IAudioInputNode2
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioDeviceInputNode final : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioDeviceInputNode final : IClosable, IAudioInputNode2
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioDeviceInputNode : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioDeviceInputNode : System.IDisposable, IAudioInputNode2
Public NotInheritable Class AudioDeviceInputNode
Implements IDisposable
Public NotInheritable Class AudioDeviceInputNode
Implements IAudioInputNode2, IDisposable
継承
Object Platform::Object IInspectable AudioDeviceInputNode
属性
実装

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

AudioGraph.CreateDeviceInputNodeAsync を呼び出し、CreateAudioDeviceInputNodeResult.DeviceInputNode プロパティにアクセスして、このクラスのインスタンスを取得します。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1607 14393 エミッタ

プロパティ

ConsumeInput

オーディオ デバイス入力ノードが入力を使用するかどうかを示す値を取得または設定します。

Device

オーディオ デバイスに関する情報を取得します。

EffectDefinitions

オーディオ デバイス入力ノードの効果定義の一覧を取得します。 リスト内の効果は、ノード内を流れるオーディオ データを、リストに表示される順序で処理します。

Emitter

空間オーディオ処理の使用時に AudioDeviceInputNode オーディオの出力元となるエミッタの位置とその他の物理的特性を表す AudioNodeEmitter を取得します。

EncodingProperties

オーディオ デバイス入力ノードのエンコード プロパティを取得します。

OutgoingConnections

オーディオ デバイス入力ノードからオーディオ グラフ内の他のノードへの送信接続の一覧を取得します。

OutgoingGain

オーディオ デバイス入力ノードの出力ゲインを取得または設定します。

メソッド

AddOutgoingConnection(IAudioNode)

オーディオ デバイス入力ノードへの発信接続を追加します。

AddOutgoingConnection(IAudioNode, Double)

ゲインを持つ発信接続をオーディオ デバイスの入力ノードに追加します。

Close()

オーディオ デバイス入力ノードを閉じ、関連付けられているリソースを破棄します。

DisableEffectsByDefinition(IAudioEffectDefinition)

指定した効果定義を持つ EffectDefinitions リスト内のすべての効果を無効にします。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

EnableEffectsByDefinition(IAudioEffectDefinition)

指定した効果定義を使用して 、EffectDefinitions リスト内のすべての効果を有効にします。

RemoveOutgoingConnection(IAudioNode)

オーディオ デバイス入力ノードから指定したノードへの発信接続を削除します。

Reset()

オーディオ デバイスの入力ノードをリセットします。

Start()

オーディオ デバイスの入力ノードを起動します。

Stop()

オーディオ デバイスの入力ノードを停止します。

適用対象

こちらもご覧ください