Mercurial > hg > sv-dependency-builds
comparison win64-msvc/include/pa_win_wdmks.h @ 145:13a516fa8999
Update PortAudio build for Win64
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 10 Jan 2017 11:28:20 +0000 |
parents | 1c067f014d80 |
children |
comparison
equal
deleted
inserted
replaced
144:a0c5ef2265f5 | 145:13a516fa8999 |
---|---|
1 #ifndef PA_WIN_WDMKS_H | 1 #ifndef PA_WIN_WDMKS_H |
2 #define PA_WIN_WDMKS_H | 2 #define PA_WIN_WDMKS_H |
3 /* | 3 /* |
4 * $Id: pa_win_wdmks.h 1812 2012-02-14 09:32:57Z robiwan $ | 4 * $Id$ |
5 * PortAudio Portable Real-Time Audio Library | 5 * PortAudio Portable Real-Time Audio Library |
6 * WDM/KS specific extensions | 6 * WDM/KS specific extensions |
7 * | 7 * |
8 * Copyright (c) 1999-2007 Ross Bencina and Phil Burk | 8 * Copyright (c) 1999-2007 Ross Bencina and Phil Burk |
9 * | 9 * |
50 | 50 |
51 #ifdef __cplusplus | 51 #ifdef __cplusplus |
52 extern "C" | 52 extern "C" |
53 { | 53 { |
54 #endif /* __cplusplus */ | 54 #endif /* __cplusplus */ |
55 | |
56 /** Flags to indicate valid fields in PaWinWDMKSInfo. | |
57 @see PaWinWDMKSInfo | |
58 @version Available as of 19.5.0. | |
59 */ | |
60 typedef enum PaWinWDMKSFlags | |
61 { | |
62 /** Makes WDMKS use the supplied latency figures instead of relying on the frame size reported | |
63 by the WaveCyclic device. Use at own risk! | |
64 */ | |
65 paWinWDMKSOverrideFramesize = (1 << 0), | |
66 | |
67 /** Makes WDMKS (output stream) use the given channelMask instead of the default. | |
68 @version Available as of 19.5.0. | |
69 */ | |
70 paWinWDMKSUseGivenChannelMask = (1 << 1), | |
71 | |
72 } PaWinWDMKSFlags; | |
73 | |
55 typedef struct PaWinWDMKSInfo{ | 74 typedef struct PaWinWDMKSInfo{ |
56 unsigned long size; /**< sizeof(PaWinWDMKSInfo) */ | 75 unsigned long size; /**< sizeof(PaWinWDMKSInfo) */ |
57 PaHostApiTypeId hostApiType; /**< paWDMKS */ | 76 PaHostApiTypeId hostApiType; /**< paWDMKS */ |
58 unsigned long version; /**< 1 */ | 77 unsigned long version; /**< 1 */ |
59 | 78 |
60 /* The number of packets to use for WaveCyclic devices, range is [2, 8]. Set to zero for default value of 2. */ | 79 /** Flags indicate which fields are valid. |
80 @see PaWinWDMKSFlags | |
81 @version Available as of 19.5.0. | |
82 */ | |
83 unsigned long flags; | |
84 | |
85 /** The number of packets to use for WaveCyclic devices, range is [2, 8]. Set to zero for default value of 2. */ | |
61 unsigned noOfPackets; | 86 unsigned noOfPackets; |
87 | |
88 /** If paWinWDMKSUseGivenChannelMask bit is set in flags, use this as channelMask instead of default. | |
89 @see PaWinWDMKSFlags | |
90 @version Available as of 19.5.0. | |
91 */ | |
92 unsigned channelMask; | |
62 } PaWinWDMKSInfo; | 93 } PaWinWDMKSInfo; |
63 | 94 |
64 typedef enum PaWDMKSType | 95 typedef enum PaWDMKSType |
65 { | 96 { |
66 Type_kNotUsed, | 97 Type_kNotUsed, |