AudioDeviceOutputNode クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーディオ グラフ ノード内のノードを表し、グラフからオーディオ データをスピーカーや外部オーディオ インターフェイスなどのオーディオ デバイスに出力します。
public ref class AudioDeviceOutputNode sealed : IClosable
public ref class AudioDeviceOutputNode sealed : IClosable, IAudioNodeWithListener
/// [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 AudioDeviceOutputNode 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 AudioDeviceOutputNode final : IClosable, IAudioNodeWithListener
[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 AudioDeviceOutputNode : 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 AudioDeviceOutputNode : System.IDisposable, IAudioNodeWithListener
Public NotInheritable Class AudioDeviceOutputNode
Implements IDisposable
Public NotInheritable Class AudioDeviceOutputNode
Implements IAudioNodeWithListener, IDisposable
- 継承
- 属性
- 実装
Windows の要件
| デバイス ファミリ |
Windows 10 (10.0.10240.0 で導入)
|
| API contract |
Windows.Foundation.UniversalApiContract (v1.0 で導入)
|
注釈
AudioGraph.CreateDeviceOutputNodeAsync を呼び出し、CreateAudioDeviceOutputNodeResult.DeviceOutputNode プロパティにアクセスして、このクラスのインスタンスを取得します。
バージョン履歴
| Windows のバージョン | SDK バージョン | 追加された値 |
|---|---|---|
| 1607 | 14393 | リスナー |
プロパティ
| ConsumeInput |
オーディオ デバイス出力ノードが入力を使用するかどうかを示す値を取得または設定します。 |
| Device |
オーディオ デバイスに関する情報を取得します。 |
| EffectDefinitions |
オーディオ デバイス出力ノードの効果定義の一覧を取得します。 リスト内の効果は、ノード内を流れるオーディオ データを、リストに表示される順序で処理します。 |
| EncodingProperties |
オーディオ デバイス出力ノードのエンコード プロパティを取得します。 |
| Listener |
空間オーディオ処理の使用時に AudioDeviceOutputNode オーディオの読み上げ元となるリスナーの位置やその他の特性を表す AudioNodeListener を取得または設定します。 |
| OutgoingGain |
オーディオ デバイス出力ノードの出力ゲインを取得または設定します。 |
メソッド
| Close() |
オーディオ デバイスの出力ノードを閉じ、関連付けられているリソースを破棄します。 |
| DisableEffectsByDefinition(IAudioEffectDefinition) |
指定した効果定義を持つ EffectDefinitions リスト内のすべての効果を無効にします。 |
| Dispose() |
アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。 |
| EnableEffectsByDefinition(IAudioEffectDefinition) |
指定した効果定義を使用して、 EffectDefinitions リスト内のすべての効果を有効にします。 |
| Reset() |
オーディオ デバイスの出力ノードをリセットします。 |
| Start() |
オーディオ デバイス出力ノードを起動します。 |
| Stop() |
オーディオ デバイスの出力ノードを停止します。 |