pa_win_wdmks.h
Go to the documentation of this file.00001 #ifndef PA_WIN_WDMKS_H
00002 #define PA_WIN_WDMKS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00047 #include "portaudio.h"
00048
00049 #include <windows.h>
00050
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055
00060 typedef enum PaWinWDMKSFlags
00061 {
00065 paWinWDMKSOverrideFramesize = (1 << 0),
00066
00070 paWinWDMKSUseGivenChannelMask = (1 << 1),
00071
00072 } PaWinWDMKSFlags;
00073
00074 typedef struct PaWinWDMKSInfo{
00075 unsigned long size;
00076 PaHostApiTypeId hostApiType;
00077 unsigned long version;
00083 unsigned long flags;
00084
00086 unsigned noOfPackets;
00087
00092 unsigned channelMask;
00093 } PaWinWDMKSInfo;
00094
00095 typedef enum PaWDMKSType
00096 {
00097 Type_kNotUsed,
00098 Type_kWaveCyclic,
00099 Type_kWaveRT,
00100 Type_kCnt,
00101 } PaWDMKSType;
00102
00103 typedef enum PaWDMKSSubType
00104 {
00105 SubType_kUnknown,
00106 SubType_kNotification,
00107 SubType_kPolled,
00108 SubType_kCnt,
00109 } PaWDMKSSubType;
00110
00111 typedef struct PaWinWDMKSDeviceInfo {
00112 wchar_t filterPath[MAX_PATH];
00113 wchar_t topologyPath[MAX_PATH];
00114 PaWDMKSType streamingType;
00115 GUID deviceProductGuid;
00116 } PaWinWDMKSDeviceInfo;
00117
00118 typedef struct PaWDMKSDirectionSpecificStreamInfo
00119 {
00120 PaDeviceIndex device;
00121 unsigned channels;
00122 unsigned framesPerHostBuffer;
00123 int endpointPinId;
00124 int muxNodeId;
00125 PaWDMKSSubType streamingSubType;
00126 } PaWDMKSDirectionSpecificStreamInfo;
00127
00128 typedef struct PaWDMKSSpecificStreamInfo {
00129 PaWDMKSDirectionSpecificStreamInfo input;
00130 PaWDMKSDirectionSpecificStreamInfo output;
00131 } PaWDMKSSpecificStreamInfo;
00132
00133 #ifdef __cplusplus
00134 }
00135 #endif
00136
00137 #endif