KSWAVE_OUTPUT_CAPABILITIES結構 (ksmedia.h)
KSWAVE_OUTPUT_CAPABILITIES 結構可用來描述裝置的輸出功能。
語法
typedef struct {
ULONG MaximumChannelsPerConnection;
ULONG MinimumBitsPerSample;
ULONG MaximumBitsPerSample;
ULONG MinimumSampleFrequency;
ULONG MaximumSampleFrequency;
ULONG TotalConnections;
ULONG StaticConnections;
ULONG StreamingConnections;
ULONG ActiveConnections;
ULONG ActiveStaticConnections;
ULONG ActiveStreamingConnections;
ULONG Total3DConnections;
ULONG Static3DConnections;
ULONG Streaming3DConnections;
ULONG Active3DConnections;
ULONG ActiveStatic3DConnections;
ULONG ActiveStreaming3DConnections;
ULONG TotalSampleMemory;
ULONG FreeSampleMemory;
ULONG LargestFreeContiguousSampleMemory;
} KSWAVE_OUTPUT_CAPABILITIES, *PKSWAVE_OUTPUT_CAPABILITIES;
成員
MaximumChannelsPerConnection
指定每個連線的通道數目上限。
MinimumBitsPerSample
指定每個範例的最小位。
MaximumBitsPerSample
指定每個樣本的最大位數。
MinimumSampleFrequency
指定最小取樣頻率。
MaximumSampleFrequency
指定取樣頻率上限。
TotalConnections
表示連線總數。
StaticConnections
表示靜態連接的數目。
StreamingConnections
指出串流連線的數目。
ActiveConnections
表示使用中聯機的數目。
ActiveStaticConnections
表示使用中靜態連接的數目。
ActiveStreamingConnections
表示作用中串流連線的數目。
Total3DConnections
表示 3D 連線的總數。
Static3DConnections
指出靜態 3D 連線的數目。
Streaming3DConnections
指出串流 3D 連線的數目。
Active3DConnections
指出使用中 3D 連線的數目。
ActiveStatic3DConnections
指出靜態 3D 連線的數目。
ActiveStreaming3DConnections
指出串流 3D 連線的數目。
TotalSampleMemory
指定範例記憶體的總數量。
FreeSampleMemory
指定可用可用的可用範例記憶體。
LargestFreeContiguousSampleMemory
指定最大、可用連續的樣本記憶體數量。
言論
KSPROPERTY_WAVE_OUTPUT_CAPABILITIES 屬性會使用此結構。
要求
要求 | 價值 |
---|---|
標頭 | ksmedia.h (包括 Ksmedia.h) |