Bagikan melalui


Antarmuka IAudioSystemEffectsCustomFormats (audioenginebaseapo.h)

Antarmuka IAudioSystemEffectsCustomFormats didukung di Windows Vista dan versi Windows yang lebih baru. Saat Anda mengembangkan objek pemrosesan audio (APO) untuk mendorong adaptor audio dengan format atipikal, APO harus mendukung IAudioSystemEffectsCustomFormats antarmuka.

Sistem operasi Windows dapat membuat instans APO Anda di luar mesin audio dan menggunakan IAudioSystemEffectsCustomFormats antarmuka untuk mengambil informasi tentang format atipikal. Antarmuka pengguna terkait menampilkan data yang diambil.

PentingIAudioSystemEffectsCustomFormats Meskipun antarmuka terus didukung di Windows, perhatikan bahwa jenis APO tempat Anda dapat menerapkan antarmuka ini tergantung pada versi Windows yang Anda targetkan. Tabel berikut ini menyediakan informasi selengkapnya:
 
Target OS Jenis APO target
Windows Vista Efek global (GFX)
Windows 7 Efek global (GFX)
Windows 8 Efek global (GFX)
Windows 8.1 Efek titik akhir (EFX)
 

Antarmuka IAudioSystemEffectsCustomFormats mewarisi dari IUnknown dan juga mendukung metode berikut:

IAudioSystemEffectsCustomFormats::GetFormat

IAudioSystemEffectsCustomFormats::GetFormatCount

IAudioSystemEffectsCustomFormats::GetFormatRepresentation

Warisan

Antarmuka IAudioSystemEffectsCustomFormats mewarisi dari antarmuka IUnknown.

Metode

Antarmuka IAudioSystemEffectsCustomFormats memiliki metode ini.

 
IAudioSystemEffectsCustomFormats::GetFormat

Metode GetFormat mengambil representasi IAudioMediaType dari format kustom.
IAudioSystemEffectsCustomFormats::GetFormatCount

Metode GetFormatCount mengambil jumlah format kustom yang didukung oleh objek pemrosesan audio efek sistem (sAPO).
IAudioSystemEffectsCustomFormats::GetFormatRepresentation

Metode GetFormatRepresentation mengambil representasi string dari format kustom sehingga dapat ditampilkan pada antarmuka pengguna.

Persyaratan

Persyaratan Nilai
Target Platform Windows
Header audioenginebaseapo.h