Share via


AUGraph クラス

定義

オーディオ処理グラフ。

public class AUGraph : IDisposable, ObjCRuntime.INativeObject
type AUGraph = class
    interface INativeObject
    interface IDisposable
継承
AUGraph
実装

注釈

void createAUGraph ()
{
        AUGraphError result = 0;
        int samplerNode, ioNode;

        var sampler = new AudioComponentDescription () {
                ComponentManufacturer = AudioComponentManufacturerType.Apple,
		ComponentType = AudioComponentType.MusicDevice,
		ComponentSubType = (int)AudioTypeMusicDevice.Sampler;
        };

        processingGraph = new AUGraph ();
        samplerNode = processingGraph.AddNode (sampler);

	var output = new AudioComponentDescription () {
                ComponentManufacturer = AudioComponentManufacturerType.Apple,
		ComponentType = AudioComponentType.Output;
		ComponentSubType = (int)AudioTypeOutput.Remote;
	};
        ioNode = processingGraph.AddNode (output);

        processingGraph.Open ();

        result = processingGraph.ConnnectNodeInput (samplerNode, 0, ioNode, 0);
        if (result != AUGraphError.OK)
                throw new Exception ("Unable to open the audio processing graph.  Error code: " + result);
        samplerUnit = processingGraph.GetNodeInfo (samplerNode);
        ioUnit = processingGraph.GetNodeInfo (ioNode);
}

コンストラクター

AUGraph()

新しい AudioUnit グラフを作成します。

プロパティ

Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

IsInitialized

オーディオ処理グラフ。

IsOpen

オーディオ処理グラフ。

IsRunning

オーディオ処理グラフ。

メソッド

AddNode(AudioComponentDescription)

説明に一致するノードをグラフに追加します。

AddRenderNotify(RenderDelegate)

オーディオ グラフがレンダリングされるたびに呼び出されるメソッドを登録します。

ClearConnections()

オーディオ処理グラフ。

ConnnectNodeInput(Int32, UInt32, Int32, UInt32)

オーディオ処理グラフ。

Create(Int32)

オーディオ処理グラフ。

DisconnectNodeInput(Int32, UInt32)

オーディオ処理グラフ。

Dispose()

AUGraph オブジェクトによって使用されるリソースを解放します。

Dispose(Boolean)

AUGraph オブジェクトによって使用されるリソースを解放します。

Finalize()

AUGraph オブジェクトのファイナライザー

GetCPULoad(Single)

オーディオ処理グラフ。

GetMaxCPULoad(Single)

オーディオ処理グラフ。

GetNode(UInt32, Int32)

オーディオ処理グラフ。

GetNodeCount(Int32)

オーディオ処理グラフ。

GetNodeInfo(Int32)

オーディオ処理グラフ。

GetNodeInfo(Int32, AudioComponentDescription, AUGraphError)

オーディオ処理グラフ。

GetNodeInfo(Int32, AUGraphError)

オーディオ処理グラフ。

GetNumberOfInteractions(Int32, UInt32)

オーディオ処理グラフ。

GetNumberOfInteractions(UInt32)

オーディオ処理グラフ。

Initialize()

オーディオ処理グラフ。

LogAllNodes()

オーディオ処理グラフ。

Open()

オーディオ処理グラフ。

RemoveNode(Int32)

オーディオ処理グラフ。

RemoveRenderNotify(RenderDelegate)

オーディオ グラフがレンダリングされるたびに、以前に登録されたコールバックが呼び出されないようにします。

SetNodeInputCallback(Int32, UInt32, RenderDelegate)

オーディオ処理グラフ。

Start()

オーディオ グラフを開始します。

Stop()

オーディオ処理グラフ。

TryOpen()

オーディオ処理グラフ。

Update()

AudioUnit グラフの状態を更新します。

適用対象