AudioGraph.CreateDeviceOutputNodeAsync Metode

Definisi

Membuat AudioDeviceOutputNode baru yang menghasilkan data audio dari grafik audio ke perangkat output default sistem, seperti speaker atau headphone.

public:
 virtual IAsyncOperation<CreateAudioDeviceOutputNodeResult ^> ^ CreateDeviceOutputNodeAsync() = CreateDeviceOutputNodeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync();
function createDeviceOutputNodeAsync()
Public Function CreateDeviceOutputNodeAsync () As IAsyncOperation(Of CreateAudioDeviceOutputNodeResult)

Mengembalikan

Operasi asinkron yang mengembalikan CreateAudioDeviceOutputNodeResult setelah selesai. Objek ini mengekspos properti Status , yang menunjukkan bahwa operasi berhasil atau alasan mengapa operasi gagal. Properti DeviceOutputNode menyediakan referensi ke simpul output yang dibuat saat berhasil.

Atribut

Persyaratan Windows

Kemampuan aplikasi
backgroundMediaRecording

Berlaku untuk