123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- #ifndef PA_WIN_WDMKS_H
- #define PA_WIN_WDMKS_H
- #include "portaudio.h"
- #include <windows.h>
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- typedef struct PaWinWDMKSInfo{
- unsigned long size;
- PaHostApiTypeId hostApiType;
- unsigned long version;
-
- unsigned noOfPackets;
- } PaWinWDMKSInfo;
- typedef enum PaWDMKSType
- {
- Type_kNotUsed,
- Type_kWaveCyclic,
- Type_kWaveRT,
- Type_kCnt,
- } PaWDMKSType;
- typedef enum PaWDMKSSubType
- {
- SubType_kUnknown,
- SubType_kNotification,
- SubType_kPolled,
- SubType_kCnt,
- } PaWDMKSSubType;
- typedef struct PaWinWDMKSDeviceInfo {
- wchar_t filterPath[MAX_PATH];
- wchar_t topologyPath[MAX_PATH];
- PaWDMKSType streamingType;
- GUID deviceProductGuid;
- } PaWinWDMKSDeviceInfo;
- typedef struct PaWDMKSDirectionSpecificStreamInfo
- {
- PaDeviceIndex device;
- unsigned channels;
- unsigned framesPerHostBuffer;
- int endpointPinId;
- int muxNodeId;
- PaWDMKSSubType streamingSubType;
- } PaWDMKSDirectionSpecificStreamInfo;
- typedef struct PaWDMKSSpecificStreamInfo {
- PaWDMKSDirectionSpecificStreamInfo input;
- PaWDMKSDirectionSpecificStreamInfo output;
- } PaWDMKSSpecificStreamInfo;
- #ifdef __cplusplus
- }
- #endif
- #endif
|