Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209494
Collapse All | Expand All

(-)../../../portaudio/build/msvc/PAStaticWMMEv19.vcproj (+790 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="Windows-1252"?>
2
<VisualStudioProject
3
	ProjectType="Visual C++"
4
	Version="8.00"
5
	Name="PAStaticWMMEv19"
6
	ProjectGUID="{7ABA0F80-94AE-4E82-AB89-2E1258212D59}"
7
	RootNamespace="PAStaticWMMEv19"
8
	>
9
	<Platforms>
10
		<Platform
11
			Name="Win32"
12
		/>
13
	</Platforms>
14
	<ToolFiles>
15
	</ToolFiles>
16
	<Configurations>
17
		<Configuration
18
			Name="Release|Win32"
19
			OutputDirectory="$(ConfigurationName)"
20
			IntermediateDirectory="$(ConfigurationName)"
21
			ConfigurationType="4"
22
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
23
			UseOfMFC="0"
24
			ATLMinimizesCRunTimeLibraryUsage="false"
25
			CharacterSet="2"
26
			>
27
			<Tool
28
				Name="VCPreBuildEventTool"
29
				CommandLine="echo // Automatically generated file &gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%DXSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_DS &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%ASIOSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_ASIO &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;"
30
			/>
31
			<Tool
32
				Name="VCCustomBuildTool"
33
			/>
34
			<Tool
35
				Name="VCXMLDataGeneratorTool"
36
			/>
37
			<Tool
38
				Name="VCWebServiceProxyGeneratorTool"
39
			/>
40
			<Tool
41
				Name="VCMIDLTool"
42
			/>
43
			<Tool
44
				Name="VCCLCompilerTool"
45
				AdditionalOptions="/O2"
46
				Optimization="2"
47
				InlineFunctionExpansion="1"
48
				AdditionalIncludeDirectories="../../include;../../src/common"
49
				PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
50
				StringPooling="true"
51
				RuntimeLibrary="0"
52
				EnableFunctionLevelLinking="true"
53
				UsePrecompiledHeader="0"
54
				PrecompiledHeaderFile=".\$(ConfigurationName)/PA19StaticWMME.pch"
55
				AssemblerListingLocation=".\$(ConfigurationName)/"
56
				ObjectFile=".\$(ConfigurationName)/"
57
				ProgramDataBaseFileName=".\$(ConfigurationName)/"
58
				WarningLevel="3"
59
				SuppressStartupBanner="true"
60
				CompileAs="0"
61
				DisableSpecificWarnings="4996"
62
				ForcedIncludeFiles="$(ProjectDir)\$(ConfigurationName)\config.h"
63
			/>
64
			<Tool
65
				Name="VCManagedResourceCompilerTool"
66
			/>
67
			<Tool
68
				Name="VCResourceCompilerTool"
69
				PreprocessorDefinitions="NDEBUG"
70
				Culture="1032"
71
			/>
72
			<Tool
73
				Name="VCPreLinkEventTool"
74
			/>
75
			<Tool
76
				Name="VCLibrarianTool"
77
				OutputFile="$(SolutionDir)\$(ConfigurationName)\pastaticwmmev19.lib"
78
				SuppressStartupBanner="true"
79
			/>
80
			<Tool
81
				Name="VCALinkTool"
82
			/>
83
			<Tool
84
				Name="VCXDCMakeTool"
85
			/>
86
			<Tool
87
				Name="VCBscMakeTool"
88
			/>
89
			<Tool
90
				Name="VCFxCopTool"
91
			/>
92
			<Tool
93
				Name="VCPostBuildEventTool"
94
				CommandLine="set CFLAGS=/I &quot;../../include&quot; /I &quot;../../src/common&quot; /I &quot;../../src/common&quot; /D &quot;WIN32&quot; /D &quot;NDEBUG&quot; /D &quot;_LIB&quot; /D &quot;_MBCS&quot; /O2 /Ob1 /GF /FD /EHsc /MT /Gy /W3 /c /wd4996 /nologo /Fo&quot;.\$(OutDir)/&quot; /Fd&quot;.\$(OutDir)/&quot;&#x0D;&#x0A;set LIBS=&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%DXSDK_DIR%&quot;==&quot;&quot; goto NoDX&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds.c&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds_dynlink.c&quot;&#x0D;&#x0A;&#x0D;&#x0A;set LIBS=&quot;%DXSDK_DIR%lib\x86\dxguid.lib&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoDX&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%ASIOSDK_DIR%&quot;==&quot;&quot; goto NoASIO&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\pa_asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\iasiothiscallresolver.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\common\asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\asiodrivers.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\pc\asiolist.cpp&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoASIO&#x0D;&#x0A;&#x0D;&#x0A;lib /OUT:&quot;$(TargetPath)&quot; &quot;.\$(OutDir)\*.obj&quot; %LIBS%&#x0D;&#x0A;"
95
			/>
96
		</Configuration>
97
		<Configuration
98
			Name="Debug|Win32"
99
			OutputDirectory="$(ConfigurationName)"
100
			IntermediateDirectory="$(ConfigurationName)"
101
			ConfigurationType="4"
102
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
103
			UseOfMFC="0"
104
			ATLMinimizesCRunTimeLibraryUsage="false"
105
			CharacterSet="2"
106
			>
107
			<Tool
108
				Name="VCPreBuildEventTool"
109
				CommandLine="echo // Automatically generated file &gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%DXSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_DS &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%ASIOSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_ASIO &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;"
110
			/>
111
			<Tool
112
				Name="VCCustomBuildTool"
113
			/>
114
			<Tool
115
				Name="VCXMLDataGeneratorTool"
116
			/>
117
			<Tool
118
				Name="VCWebServiceProxyGeneratorTool"
119
			/>
120
			<Tool
121
				Name="VCMIDLTool"
122
			/>
123
			<Tool
124
				Name="VCCLCompilerTool"
125
				Optimization="0"
126
				AdditionalIncludeDirectories="../../include;../../src/common"
127
				PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
128
				BasicRuntimeChecks="3"
129
				RuntimeLibrary="1"
130
				UsePrecompiledHeader="0"
131
				PrecompiledHeaderFile=".\$(ConfigurationName)/PA19StaticWMME.pch"
132
				AssemblerListingLocation=".\$(ConfigurationName)/"
133
				ObjectFile=".\$(ConfigurationName)/"
134
				ProgramDataBaseFileName=".\$(ConfigurationName)/"
135
				WarningLevel="3"
136
				SuppressStartupBanner="true"
137
				DebugInformationFormat="4"
138
				CompileAs="0"
139
				DisableSpecificWarnings="4996"
140
				ForcedIncludeFiles="$(ProjectDir)\$(ConfigurationName)\config.h"
141
			/>
142
			<Tool
143
				Name="VCManagedResourceCompilerTool"
144
			/>
145
			<Tool
146
				Name="VCResourceCompilerTool"
147
				PreprocessorDefinitions="_DEBUG"
148
				Culture="1032"
149
			/>
150
			<Tool
151
				Name="VCPreLinkEventTool"
152
			/>
153
			<Tool
154
				Name="VCLibrarianTool"
155
				OutputFile="$(SolutionDir)\$(ConfigurationName)\pastaticwmmev19d.lib"
156
				SuppressStartupBanner="true"
157
			/>
158
			<Tool
159
				Name="VCALinkTool"
160
			/>
161
			<Tool
162
				Name="VCXDCMakeTool"
163
			/>
164
			<Tool
165
				Name="VCBscMakeTool"
166
			/>
167
			<Tool
168
				Name="VCFxCopTool"
169
			/>
170
			<Tool
171
				Name="VCPostBuildEventTool"
172
				CommandLine="set CFLAGS= /I &quot;../../include&quot; /I &quot;../../src/common&quot; /I &quot;../../src/common&quot; /D &quot;WIN32&quot; /D &quot;_DEBUG&quot; /D &quot;_LIB&quot; /D &quot;_MBCS&quot; /Od /FD /EHsc /RTC1 /MTd /W3 /c /ZI /wd4996 /nologo /Fo&quot;.\$(OutDir)/&quot; /Fd&quot;.\$(OutDir)/&quot;&#x0D;&#x0A;set LIBS=&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%DXSDK_DIR%&quot;==&quot;&quot; goto NoDX&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds.c&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds_dynlink.c&quot;&#x0D;&#x0A;&#x0D;&#x0A;set LIBS=&quot;%DXSDK_DIR%lib\x86\dxguid.lib&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoDX&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%ASIOSDK_DIR%&quot;==&quot;&quot; goto NoASIO&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\pa_asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\iasiothiscallresolver.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\common\asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\asiodrivers.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\pc\asiolist.cpp&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoASIO&#x0D;&#x0A;&#x0D;&#x0A;lib /OUT:&quot;$(TargetPath)&quot; &quot;.\$(OutDir)\*.obj&quot; %LIBS%&#x0D;&#x0A;"
173
			/>
174
		</Configuration>
175
		<Configuration
176
			Name="Unicode_Debug|Win32"
177
			OutputDirectory="$(ConfigurationName)"
178
			IntermediateDirectory="$(ConfigurationName)"
179
			ConfigurationType="4"
180
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
181
			UseOfMFC="0"
182
			ATLMinimizesCRunTimeLibraryUsage="false"
183
			CharacterSet="0"
184
			>
185
			<Tool
186
				Name="VCPreBuildEventTool"
187
				CommandLine="echo // Automatically generated file &gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%DXSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_DS &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%ASIOSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_ASIO &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;"
188
			/>
189
			<Tool
190
				Name="VCCustomBuildTool"
191
			/>
192
			<Tool
193
				Name="VCXMLDataGeneratorTool"
194
			/>
195
			<Tool
196
				Name="VCWebServiceProxyGeneratorTool"
197
			/>
198
			<Tool
199
				Name="VCMIDLTool"
200
			/>
201
			<Tool
202
				Name="VCCLCompilerTool"
203
				Optimization="0"
204
				AdditionalIncludeDirectories="../../include;../../src/common"
205
				PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
206
				BasicRuntimeChecks="3"
207
				RuntimeLibrary="1"
208
				UsePrecompiledHeader="0"
209
				PrecompiledHeaderFile=".\$(ConfigurationName)/PA19StaticWMME.pch"
210
				AssemblerListingLocation=".\$(ConfigurationName)/"
211
				ObjectFile=".\$(ConfigurationName)/"
212
				ProgramDataBaseFileName=".\$(ConfigurationName)/"
213
				WarningLevel="3"
214
				SuppressStartupBanner="true"
215
				DebugInformationFormat="4"
216
				CompileAs="0"
217
				DisableSpecificWarnings="4996"
218
				ForcedIncludeFiles="$(ProjectDir)\$(ConfigurationName)\config.h"
219
			/>
220
			<Tool
221
				Name="VCManagedResourceCompilerTool"
222
			/>
223
			<Tool
224
				Name="VCResourceCompilerTool"
225
				PreprocessorDefinitions="_DEBUG"
226
				Culture="1032"
227
			/>
228
			<Tool
229
				Name="VCPreLinkEventTool"
230
			/>
231
			<Tool
232
				Name="VCLibrarianTool"
233
				OutputFile="$(SolutionDir)\$(ConfigurationName)\pastaticwmmev19ud.lib"
234
				SuppressStartupBanner="true"
235
			/>
236
			<Tool
237
				Name="VCALinkTool"
238
			/>
239
			<Tool
240
				Name="VCXDCMakeTool"
241
			/>
242
			<Tool
243
				Name="VCBscMakeTool"
244
			/>
245
			<Tool
246
				Name="VCFxCopTool"
247
			/>
248
			<Tool
249
				Name="VCPostBuildEventTool"
250
				CommandLine="set CFLAGS= /I &quot;../../include&quot; /I &quot;../../src/common&quot; /I &quot;../../src/common&quot; /D &quot;WIN32&quot; /D &quot;_DEBUG&quot; /D &quot;_LIB&quot; /D &quot;_MBCS&quot; /Od /FD /EHsc /RTC1 /MTd /W3 /c /ZI /wd4996 /nologo /Fo&quot;.\$(OutDir)/&quot; /Fd&quot;.\$(OutDir)/&quot;&#x0D;&#x0A;set LIBS=&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%DXSDK_DIR%&quot;==&quot;&quot; goto NoDX&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds.c&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds_dynlink.c&quot;&#x0D;&#x0A;&#x0D;&#x0A;set LIBS=&quot;%DXSDK_DIR%lib\x86\dxguid.lib&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoDX&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%ASIOSDK_DIR%&quot;==&quot;&quot; goto NoASIO&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\pa_asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\iasiothiscallresolver.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\common\asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\asiodrivers.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\pc\asiolist.cpp&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoASIO&#x0D;&#x0A;&#x0D;&#x0A;lib /OUT:&quot;$(TargetPath)&quot; &quot;.\$(OutDir)\*.obj&quot; %LIBS%&#x0D;&#x0A;"
251
			/>
252
		</Configuration>
253
		<Configuration
254
			Name="Unicode_Release|Win32"
255
			OutputDirectory="$(ConfigurationName)"
256
			IntermediateDirectory="$(ConfigurationName)"
257
			ConfigurationType="4"
258
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
259
			UseOfMFC="0"
260
			ATLMinimizesCRunTimeLibraryUsage="false"
261
			CharacterSet="0"
262
			>
263
			<Tool
264
				Name="VCPreBuildEventTool"
265
				CommandLine="echo // Automatically generated file &gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%DXSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_DS &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;IF &quot;%ASIOSDK_DIR%&quot; == &quot;&quot; echo #define PA_NO_ASIO &gt;&gt;&quot;.\$(ConfigurationName)\config.h&quot;&#x0D;&#x0A;"
266
			/>
267
			<Tool
268
				Name="VCCustomBuildTool"
269
			/>
270
			<Tool
271
				Name="VCXMLDataGeneratorTool"
272
			/>
273
			<Tool
274
				Name="VCWebServiceProxyGeneratorTool"
275
			/>
276
			<Tool
277
				Name="VCMIDLTool"
278
			/>
279
			<Tool
280
				Name="VCCLCompilerTool"
281
				AdditionalOptions="/O2"
282
				Optimization="2"
283
				InlineFunctionExpansion="1"
284
				AdditionalIncludeDirectories="../../include;../../src/common"
285
				PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
286
				StringPooling="true"
287
				RuntimeLibrary="0"
288
				EnableFunctionLevelLinking="true"
289
				UsePrecompiledHeader="0"
290
				PrecompiledHeaderFile=".\$(ConfigurationName)/PA19StaticWMME.pch"
291
				AssemblerListingLocation=".\$(ConfigurationName)/"
292
				ObjectFile=".\$(ConfigurationName)/"
293
				ProgramDataBaseFileName=".\$(ConfigurationName)/"
294
				WarningLevel="3"
295
				SuppressStartupBanner="true"
296
				CompileAs="0"
297
				DisableSpecificWarnings="4996"
298
				ForcedIncludeFiles="$(ProjectDir)\$(ConfigurationName)\config.h"
299
			/>
300
			<Tool
301
				Name="VCManagedResourceCompilerTool"
302
			/>
303
			<Tool
304
				Name="VCResourceCompilerTool"
305
				PreprocessorDefinitions="NDEBUG"
306
				Culture="1032"
307
			/>
308
			<Tool
309
				Name="VCPreLinkEventTool"
310
			/>
311
			<Tool
312
				Name="VCLibrarianTool"
313
				OutputFile="$(SolutionDir)\$(ConfigurationName)\pastaticwmmev19u.lib"
314
				SuppressStartupBanner="true"
315
			/>
316
			<Tool
317
				Name="VCALinkTool"
318
			/>
319
			<Tool
320
				Name="VCXDCMakeTool"
321
			/>
322
			<Tool
323
				Name="VCBscMakeTool"
324
			/>
325
			<Tool
326
				Name="VCFxCopTool"
327
			/>
328
			<Tool
329
				Name="VCPostBuildEventTool"
330
				CommandLine="set CFLAGS=/I &quot;../../include&quot; /I &quot;../../src/common&quot; /I &quot;../../src/common&quot; /D &quot;WIN32&quot; /D &quot;NDEBUG&quot; /D &quot;_LIB&quot; /D &quot;_MBCS&quot; /O2 /Ob1 /GF /FD /EHsc /MT /Gy /W3 /c /wd4996 /nologo /Fo&quot;.\$(OutDir)/&quot; /Fd&quot;.\$(OutDir)/&quot;&#x0D;&#x0A;set LIBS=&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%DXSDK_DIR%&quot;==&quot;&quot; goto NoDX&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds.c&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%DXSDK_DIR%include&quot; &quot;..\..\src\hostapi\dsound\pa_win_ds_dynlink.c&quot;&#x0D;&#x0A;&#x0D;&#x0A;set LIBS=&quot;%DXSDK_DIR%lib\x86\dxguid.lib&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoDX&#x0D;&#x0A;&#x0D;&#x0A;if &quot;%ASIOSDK_DIR%&quot;==&quot;&quot; goto NoASIO&#x0D;&#x0A;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\pa_asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;..\..\src\hostapi\asio\iasiothiscallresolver.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\common\asio.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\asiodrivers.cpp&quot;&#x0D;&#x0A;cl %CFLAGS% /I &quot;%ASIOSDK_DIR%/common&quot; /I &quot;%ASIOSDK_DIR%/host&quot; /I &quot;%ASIOSDK_DIR%/host/pc&quot; &quot;%ASIOSDK_DIR%\host\pc\asiolist.cpp&quot;&#x0D;&#x0A;&#x0D;&#x0A;:NoASIO&#x0D;&#x0A;&#x0D;&#x0A;lib /OUT:&quot;$(TargetPath)&quot; &quot;.\$(OutDir)\*.obj&quot; %LIBS%&#x0D;&#x0A;"
331
			/>
332
		</Configuration>
333
	</Configurations>
334
	<References>
335
	</References>
336
	<Files>
337
		<Filter
338
			Name="Source Files"
339
			Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
340
			>
341
			<Filter
342
				Name="common"
343
				>
344
				<File
345
					RelativePath="..\..\src\common\pa_allocation.c"
346
					>
347
				</File>
348
				<File
349
					RelativePath="..\..\src\common\pa_allocation.h"
350
					>
351
				</File>
352
				<File
353
					RelativePath="..\..\src\common\pa_converters.c"
354
					>
355
				</File>
356
				<File
357
					RelativePath="..\..\src\common\pa_converters.h"
358
					>
359
				</File>
360
				<File
361
					RelativePath="..\..\src\common\pa_cpuload.c"
362
					>
363
				</File>
364
				<File
365
					RelativePath="..\..\src\common\pa_cpuload.h"
366
					>
367
				</File>
368
				<File
369
					RelativePath="..\..\src\common\pa_dither.c"
370
					>
371
				</File>
372
				<File
373
					RelativePath="..\..\src\common\pa_dither.h"
374
					>
375
				</File>
376
				<File
377
					RelativePath="..\..\src\common\pa_endianness.h"
378
					>
379
				</File>
380
				<File
381
					RelativePath="..\..\src\common\pa_front.c"
382
					>
383
				</File>
384
				<File
385
					RelativePath="..\..\src\common\pa_hostapi.h"
386
					>
387
				</File>
388
				<File
389
					RelativePath="..\..\src\common\pa_process.c"
390
					>
391
				</File>
392
				<File
393
					RelativePath="..\..\src\common\pa_process.h"
394
					>
395
				</File>
396
				<File
397
					RelativePath="..\..\src\common\pa_skeleton.c"
398
					>
399
				</File>
400
				<File
401
					RelativePath="..\..\src\common\pa_stream.c"
402
					>
403
				</File>
404
				<File
405
					RelativePath="..\..\src\common\pa_stream.h"
406
					>
407
				</File>
408
				<File
409
					RelativePath="..\..\src\common\pa_trace.c"
410
					>
411
				</File>
412
				<File
413
					RelativePath="..\..\src\common\pa_trace.h"
414
					>
415
				</File>
416
				<File
417
					RelativePath="..\..\src\common\pa_types.h"
418
					>
419
				</File>
420
				<File
421
					RelativePath="..\..\src\common\pa_util.h"
422
					>
423
				</File>
424
			</Filter>
425
			<Filter
426
				Name="hostapi"
427
				>
428
				<Filter
429
					Name="wmme"
430
					>
431
					<File
432
						RelativePath="..\..\src\hostapi\wmme\pa_win_wmme.c"
433
						>
434
					</File>
435
				</Filter>
436
				<Filter
437
					Name="wdmks"
438
					>
439
					<File
440
						RelativePath="..\..\src\hostapi\wdmks\pa_win_wdmks.c"
441
						>
442
						<FileConfiguration
443
							Name="Release|Win32"
444
							ExcludedFromBuild="true"
445
							>
446
							<Tool
447
								Name="VCCLCompilerTool"
448
							/>
449
						</FileConfiguration>
450
						<FileConfiguration
451
							Name="Debug|Win32"
452
							ExcludedFromBuild="true"
453
							>
454
							<Tool
455
								Name="VCCLCompilerTool"
456
							/>
457
						</FileConfiguration>
458
						<FileConfiguration
459
							Name="Unicode_Debug|Win32"
460
							ExcludedFromBuild="true"
461
							>
462
							<Tool
463
								Name="VCCLCompilerTool"
464
							/>
465
						</FileConfiguration>
466
						<FileConfiguration
467
							Name="Unicode_Release|Win32"
468
							ExcludedFromBuild="true"
469
							>
470
							<Tool
471
								Name="VCCLCompilerTool"
472
							/>
473
						</FileConfiguration>
474
					</File>
475
				</Filter>
476
				<Filter
477
					Name="dsound"
478
					>
479
					<File
480
						RelativePath="..\..\src\hostapi\dsound\pa_win_ds.c"
481
						>
482
						<FileConfiguration
483
							Name="Release|Win32"
484
							ExcludedFromBuild="true"
485
							>
486
							<Tool
487
								Name="VCCLCompilerTool"
488
							/>
489
						</FileConfiguration>
490
						<FileConfiguration
491
							Name="Debug|Win32"
492
							ExcludedFromBuild="true"
493
							>
494
							<Tool
495
								Name="VCCLCompilerTool"
496
							/>
497
						</FileConfiguration>
498
						<FileConfiguration
499
							Name="Unicode_Debug|Win32"
500
							ExcludedFromBuild="true"
501
							>
502
							<Tool
503
								Name="VCCLCompilerTool"
504
							/>
505
						</FileConfiguration>
506
						<FileConfiguration
507
							Name="Unicode_Release|Win32"
508
							ExcludedFromBuild="true"
509
							>
510
							<Tool
511
								Name="VCCLCompilerTool"
512
							/>
513
						</FileConfiguration>
514
					</File>
515
					<File
516
						RelativePath="..\..\src\hostapi\dsound\pa_win_ds_dynlink.c"
517
						>
518
						<FileConfiguration
519
							Name="Release|Win32"
520
							ExcludedFromBuild="true"
521
							>
522
							<Tool
523
								Name="VCCLCompilerTool"
524
							/>
525
						</FileConfiguration>
526
						<FileConfiguration
527
							Name="Debug|Win32"
528
							ExcludedFromBuild="true"
529
							>
530
							<Tool
531
								Name="VCCLCompilerTool"
532
							/>
533
						</FileConfiguration>
534
						<FileConfiguration
535
							Name="Unicode_Debug|Win32"
536
							ExcludedFromBuild="true"
537
							>
538
							<Tool
539
								Name="VCCLCompilerTool"
540
							/>
541
						</FileConfiguration>
542
						<FileConfiguration
543
							Name="Unicode_Release|Win32"
544
							ExcludedFromBuild="true"
545
							>
546
							<Tool
547
								Name="VCCLCompilerTool"
548
							/>
549
						</FileConfiguration>
550
					</File>
551
					<File
552
						RelativePath="..\..\src\hostapi\dsound\pa_win_ds_dynlink.h"
553
						>
554
						<FileConfiguration
555
							Name="Release|Win32"
556
							ExcludedFromBuild="true"
557
							>
558
							<Tool
559
								Name="VCCustomBuildTool"
560
							/>
561
						</FileConfiguration>
562
						<FileConfiguration
563
							Name="Debug|Win32"
564
							ExcludedFromBuild="true"
565
							>
566
							<Tool
567
								Name="VCCustomBuildTool"
568
							/>
569
						</FileConfiguration>
570
						<FileConfiguration
571
							Name="Unicode_Debug|Win32"
572
							ExcludedFromBuild="true"
573
							>
574
							<Tool
575
								Name="VCCustomBuildTool"
576
							/>
577
						</FileConfiguration>
578
						<FileConfiguration
579
							Name="Unicode_Release|Win32"
580
							ExcludedFromBuild="true"
581
							>
582
							<Tool
583
								Name="VCCustomBuildTool"
584
							/>
585
						</FileConfiguration>
586
					</File>
587
				</Filter>
588
				<Filter
589
					Name="asio"
590
					>
591
					<File
592
						RelativePath="..\..\src\hostapi\asio\iasiothiscallresolver.cpp"
593
						>
594
						<FileConfiguration
595
							Name="Release|Win32"
596
							ExcludedFromBuild="true"
597
							>
598
							<Tool
599
								Name="VCCLCompilerTool"
600
							/>
601
						</FileConfiguration>
602
						<FileConfiguration
603
							Name="Debug|Win32"
604
							ExcludedFromBuild="true"
605
							>
606
							<Tool
607
								Name="VCCLCompilerTool"
608
							/>
609
						</FileConfiguration>
610
						<FileConfiguration
611
							Name="Unicode_Debug|Win32"
612
							ExcludedFromBuild="true"
613
							>
614
							<Tool
615
								Name="VCCLCompilerTool"
616
							/>
617
						</FileConfiguration>
618
						<FileConfiguration
619
							Name="Unicode_Release|Win32"
620
							ExcludedFromBuild="true"
621
							>
622
							<Tool
623
								Name="VCCLCompilerTool"
624
							/>
625
						</FileConfiguration>
626
					</File>
627
					<File
628
						RelativePath="..\..\src\hostapi\asio\iasiothiscallresolver.h"
629
						>
630
						<FileConfiguration
631
							Name="Release|Win32"
632
							ExcludedFromBuild="true"
633
							>
634
							<Tool
635
								Name="VCCustomBuildTool"
636
							/>
637
						</FileConfiguration>
638
						<FileConfiguration
639
							Name="Debug|Win32"
640
							ExcludedFromBuild="true"
641
							>
642
							<Tool
643
								Name="VCCustomBuildTool"
644
							/>
645
						</FileConfiguration>
646
						<FileConfiguration
647
							Name="Unicode_Debug|Win32"
648
							ExcludedFromBuild="true"
649
							>
650
							<Tool
651
								Name="VCCustomBuildTool"
652
							/>
653
						</FileConfiguration>
654
						<FileConfiguration
655
							Name="Unicode_Release|Win32"
656
							ExcludedFromBuild="true"
657
							>
658
							<Tool
659
								Name="VCCustomBuildTool"
660
							/>
661
						</FileConfiguration>
662
					</File>
663
					<File
664
						RelativePath="..\..\src\hostapi\asio\pa_asio.cpp"
665
						>
666
						<FileConfiguration
667
							Name="Release|Win32"
668
							ExcludedFromBuild="true"
669
							>
670
							<Tool
671
								Name="VCCLCompilerTool"
672
							/>
673
						</FileConfiguration>
674
						<FileConfiguration
675
							Name="Debug|Win32"
676
							ExcludedFromBuild="true"
677
							>
678
							<Tool
679
								Name="VCCLCompilerTool"
680
							/>
681
						</FileConfiguration>
682
						<FileConfiguration
683
							Name="Unicode_Debug|Win32"
684
							ExcludedFromBuild="true"
685
							>
686
							<Tool
687
								Name="VCCLCompilerTool"
688
							/>
689
						</FileConfiguration>
690
						<FileConfiguration
691
							Name="Unicode_Release|Win32"
692
							ExcludedFromBuild="true"
693
							>
694
							<Tool
695
								Name="VCCLCompilerTool"
696
							/>
697
						</FileConfiguration>
698
					</File>
699
				</Filter>
700
			</Filter>
701
			<Filter
702
				Name="os"
703
				>
704
				<File
705
					RelativePath="..\..\src\os\win\pa_win_hostapis.c"
706
					>
707
				</File>
708
				<File
709
					RelativePath="..\..\src\os\win\pa_win_util.c"
710
					>
711
				</File>
712
				<File
713
					RelativePath="..\..\src\os\win\pa_win_waveformat.c"
714
					>
715
				</File>
716
				<File
717
					RelativePath="..\..\include\pa_win_waveformat.h"
718
					>
719
				</File>
720
				<File
721
					RelativePath="..\..\src\os\win\pa_win_wdmks_utils.c"
722
					>
723
				</File>
724
				<File
725
					RelativePath="..\..\src\os\win\pa_win_wdmks_utils.h"
726
					>
727
				</File>
728
				<File
729
					RelativePath="..\..\src\os\win\pa_x86_plain_converters.c"
730
					>
731
				</File>
732
				<File
733
					RelativePath="..\..\src\os\win\pa_x86_plain_converters.h"
734
					>
735
				</File>
736
			</Filter>
737
		</Filter>
738
		<Filter
739
			Name="Public Headers"
740
			Filter="h;hpp;hxx;hm;inl"
741
			>
742
			<File
743
				RelativePath="..\..\include\pa_win_ds.h"
744
				>
745
				<FileConfiguration
746
					Name="Release|Win32"
747
					ExcludedFromBuild="true"
748
					>
749
					<Tool
750
						Name="VCCustomBuildTool"
751
					/>
752
				</FileConfiguration>
753
				<FileConfiguration
754
					Name="Debug|Win32"
755
					ExcludedFromBuild="true"
756
					>
757
					<Tool
758
						Name="VCCustomBuildTool"
759
					/>
760
				</FileConfiguration>
761
				<FileConfiguration
762
					Name="Unicode_Debug|Win32"
763
					ExcludedFromBuild="true"
764
					>
765
					<Tool
766
						Name="VCCustomBuildTool"
767
					/>
768
				</FileConfiguration>
769
				<FileConfiguration
770
					Name="Unicode_Release|Win32"
771
					ExcludedFromBuild="true"
772
					>
773
					<Tool
774
						Name="VCCustomBuildTool"
775
					/>
776
				</FileConfiguration>
777
			</File>
778
			<File
779
				RelativePath="..\..\include\pa_win_wmme.h"
780
				>
781
			</File>
782
			<File
783
				RelativePath="..\..\include\portaudio.h"
784
				>
785
			</File>
786
		</Filter>
787
	</Files>
788
	<Globals>
789
	</Globals>
790
</VisualStudioProject>
(-)../../../portaudio/include/pa_unix_oss.h (+104 lines)
Line 0 Link Here
1
#ifndef PA_UNIX_OSS_H
2
#define PA_UNIX_OSS_H
3
4
/*
5
 * $Id: portaudio.patch,v 1.7 2008/01/09 05:16:19 llucius Exp $
6
 * PortAudio Portable Real-Time Audio Library
7
 * OSS-specific extensions
8
 *
9
 * Copyright (c) 1999-2000 Ross Bencina and Phil Burk
10
 *
11
 * Permission is hereby granted, free of charge, to any person obtaining
12
 * a copy of this software and associated documentation files
13
 * (the "Software"), to deal in the Software without restriction,
14
 * including without limitation the rights to use, copy, modify, merge,
15
 * publish, distribute, sublicense, and/or sell copies of the Software,
16
 * and to permit persons to whom the Software is furnished to do so,
17
 * subject to the following conditions:
18
 *
19
 * The above copyright notice and this permission notice shall be
20
 * included in all copies or substantial portions of the Software.
21
 *
22
 * Any person wishing to distribute modifications to the Software is
23
 * requested to send the modifications to the original developer so that
24
 * they can be incorporated into the canonical version.
25
 *
26
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
29
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
30
 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
31
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
32
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
 *
34
 */
35
36
/** @file
37
 * OSS-specific PortAudio API extension header file.
38
 */
39
40
#ifdef __cplusplus
41
extern "C" {
42
#endif
43
44
const char *PaOSS_GetStreamInputDevice( PaStream *s );
45
46
const char *PaOSS_GetStreamOutputDevice( PaStream *s );
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
53
#ifndef PA_UNIX_OSS_H
54
#define PA_UNIX_OSS_H
55
56
/*
57
 * $Id: portaudio.patch,v 1.7 2008/01/09 05:16:19 llucius Exp $
58
 * PortAudio Portable Real-Time Audio Library
59
 * OSS-specific extensions
60
 *
61
 * Copyright (c) 1999-2000 Ross Bencina and Phil Burk
62
 *
63
 * Permission is hereby granted, free of charge, to any person obtaining
64
 * a copy of this software and associated documentation files
65
 * (the "Software"), to deal in the Software without restriction,
66
 * including without limitation the rights to use, copy, modify, merge,
67
 * publish, distribute, sublicense, and/or sell copies of the Software,
68
 * and to permit persons to whom the Software is furnished to do so,
69
 * subject to the following conditions:
70
 *
71
 * The above copyright notice and this permission notice shall be
72
 * included in all copies or substantial portions of the Software.
73
 *
74
 * Any person wishing to distribute modifications to the Software is
75
 * requested to send the modifications to the original developer so that
76
 * they can be incorporated into the canonical version.
77
 *
78
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
79
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
80
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
81
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
82
 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
83
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
84
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
85
 *
86
 */
87
88
/** @file
89
 * OSS-specific PortAudio API extension header file.
90
 */
91
92
#ifdef __cplusplus
93
extern "C" {
94
#endif
95
96
const char *PaOSS_GetStreamInputDevice( PaStream *s );
97
98
const char *PaOSS_GetStreamOutputDevice( PaStream *s );
99
100
#ifdef __cplusplus
101
}
102
#endif
103
104
#endif
(-)../../../portaudio/include/pa_win_ds.h (+15 lines)
Lines 91-96 Link Here
91
91
92
}PaWinDirectSoundStreamInfo;
92
}PaWinDirectSoundStreamInfo;
93
93
94
/** Retrieve the GUID of the input device.
95
96
 @param stream The stream to query.
97
98
 @return A pointer to the GUID, or NULL if none.
99
*/
100
LPGUID PaWinDS_GetStreamInputGUID( PaStream* s );
101
102
/** Retrieve the GUID of the output device.
103
104
 @param stream The stream to query.
105
106
 @return A pointer to the GUID, or NULL if none.
107
*/
108
LPGUID PaWinDS_GetStreamOutputGUID( PaStream* s );
94
109
95
110
96
#ifdef __cplusplus
111
#ifdef __cplusplus
(-)../../../portaudio/include/portaudio.h (+9 lines)
Lines 1105-1110 Link Here
1105
signed long Pa_GetStreamWriteAvailable( PaStream* stream );
1105
signed long Pa_GetStreamWriteAvailable( PaStream* stream );
1106
1106
1107
1107
1108
/** Retrieve the host type handling an open stream.
1109
1110
 @return Returns a non-negative value representing the host API type
1111
 handling an open stream or, a PaErrorCode (which are always negative)
1112
 if PortAudio is not initialized or an error is encountered.
1113
*/
1114
PaHostApiTypeId Pa_GetStreamHostApiType( PaStream* stream );
1115
1116
1108
/* Miscellaneous utilities */
1117
/* Miscellaneous utilities */
1109
1118
1110
1119
(-)../../../portaudio/src/common/pa_front.c (-1 / +29 lines)
Lines 1206-1213 Link Here
1206
                                  hostApiInputParametersPtr, hostApiOutputParametersPtr,
1206
                                  hostApiInputParametersPtr, hostApiOutputParametersPtr,
1207
                                  sampleRate, framesPerBuffer, streamFlags, streamCallback, userData );
1207
                                  sampleRate, framesPerBuffer, streamFlags, streamCallback, userData );
1208
1208
1209
    if( result == paNoError )
1209
    if( result == paNoError ) {
1210
        AddOpenStream( *stream );
1210
        AddOpenStream( *stream );
1211
        PA_STREAM_REP(*stream)->hostApiType = hostApi->info.type;
1212
    }
1211
1213
1212
1214
1213
    PA_LOGAPI(("Pa_OpenStream returned:\n" ));
1215
    PA_LOGAPI(("Pa_OpenStream returned:\n" ));
Lines 1719-1724 Link Here
1719
    return result;
1721
    return result;
1720
}
1722
}
1721
1723
1724
PaHostApiTypeId Pa_GetStreamHostApiType( PaStream* stream )
1725
{
1726
    PaError error = PaUtil_ValidateStreamPointer( stream );
1727
    PaHostApiTypeId result;
1728
1729
#ifdef PA_LOG_API_CALLS
1730
    PaUtil_DebugPrint("Pa_GetStreamHostApiType called:\n" );
1731
    PaUtil_DebugPrint("\tPaStream* stream: 0x%p\n", stream );
1732
#endif
1733
1734
    if( error == paNoError )
1735
    {
1736
        result = PA_STREAM_REP(stream)->hostApiType;
1737
    }
1738
    else
1739
    {
1740
        result = (PaHostApiTypeId) error;
1741
    }
1742
1743
#ifdef PA_LOG_API_CALLS
1744
    PaUtil_DebugPrint("Pa_GetStreamHostApiType returned:\n" );
1745
    PaUtil_DebugPrint("\tPaError: %d ( %s )\n\n", result, Pa_GetErrorText( result ) );
1746
#endif
1747
1748
    return result;
1749
}
1722
1750
1723
PaError Pa_GetSampleSize( PaSampleFormat format )
1751
PaError Pa_GetSampleSize( PaSampleFormat format )
1724
{
1752
{
(-)../../../portaudio/src/common/pa_stream.c (+2 lines)
Lines 93-98 Link Here
93
    streamRepresentation->streamInfo.inputLatency = 0.;
93
    streamRepresentation->streamInfo.inputLatency = 0.;
94
    streamRepresentation->streamInfo.outputLatency = 0.;
94
    streamRepresentation->streamInfo.outputLatency = 0.;
95
    streamRepresentation->streamInfo.sampleRate = 0.;
95
    streamRepresentation->streamInfo.sampleRate = 0.;
96
97
    streamRepresentation->hostApiType = 0;
96
}
98
}
97
99
98
100
(-)../../../portaudio/src/common/pa_stream.h (+1 lines)
Lines 152-157 Link Here
152
    PaStreamFinishedCallback *streamFinishedCallback;
152
    PaStreamFinishedCallback *streamFinishedCallback;
153
    void *userData;
153
    void *userData;
154
    PaStreamInfo streamInfo;
154
    PaStreamInfo streamInfo;
155
    PaHostApiTypeId hostApiType;
155
} PaUtilStreamRepresentation;
156
} PaUtilStreamRepresentation;
156
157
157
158
(-)../../../portaudio/src/hostapi/coreaudio/pa_mac_core_blocking.c (+3 lines)
Lines 66-71 Link Here
66
#ifdef MOSX_USE_NON_ATOMIC_FLAG_BITS
66
#ifdef MOSX_USE_NON_ATOMIC_FLAG_BITS
67
# define OSAtomicOr32( a, b ) ( (*(b)) |= (a) )
67
# define OSAtomicOr32( a, b ) ( (*(b)) |= (a) )
68
# define OSAtomicAnd32( a, b ) ( (*(b)) &= (a) )
68
# define OSAtomicAnd32( a, b ) ( (*(b)) &= (a) )
69
#elif MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_3
70
# define OSAtomicOr32( a, b ) BitOrAtomic( a, (UInt32 *) b )
71
# define OSAtomicAnd32( a, b ) BitAndAtomic( a, (UInt32 *) b )
69
#else
72
#else
70
# include <libkern/OSAtomic.h>
73
# include <libkern/OSAtomic.h>
71
#endif
74
#endif
(-)../../../portaudio/src/hostapi/dsound/pa_win_ds.c (-2 / +32 lines)
Lines 221-226 Link Here
221
/* DirectSound specific data. */
221
/* DirectSound specific data. */
222
222
223
/* Output */
223
/* Output */
224
    LPGUID               pOutputGuid;
224
    LPDIRECTSOUND        pDirectSound;
225
    LPDIRECTSOUND        pDirectSound;
225
    LPDIRECTSOUNDBUFFER  pDirectSoundOutputBuffer;
226
    LPDIRECTSOUNDBUFFER  pDirectSoundOutputBuffer;
226
    DWORD                outputBufferWriteOffsetBytes;     /* last write position */
227
    DWORD                outputBufferWriteOffsetBytes;     /* last write position */
Lines 236-241 Link Here
236
    double               dsw_framesWritten;
237
    double               dsw_framesWritten;
237
    double               framesPlayed;
238
    double               framesPlayed;
238
/* Input */
239
/* Input */
240
    LPGUID               pInputGuid;
239
    LPDIRECTSOUNDCAPTURE pDirectSoundCapture;
241
    LPDIRECTSOUNDCAPTURE pDirectSoundCapture;
240
    LPDIRECTSOUNDCAPTUREBUFFER   pDirectSoundInputBuffer;
242
    LPDIRECTSOUNDCAPTUREBUFFER   pDirectSoundInputBuffer;
241
    INT                  bytesPerInputFrame;
243
    INT                  bytesPerInputFrame;
Lines 1544-1551 Link Here
1544
    PaWinDsDeviceInfo *inputWinDsDeviceInfo, *outputWinDsDeviceInfo;
1546
    PaWinDsDeviceInfo *inputWinDsDeviceInfo, *outputWinDsDeviceInfo;
1545
    PaDeviceInfo *inputDeviceInfo, *outputDeviceInfo;
1547
    PaDeviceInfo *inputDeviceInfo, *outputDeviceInfo;
1546
    int inputChannelCount, outputChannelCount;
1548
    int inputChannelCount, outputChannelCount;
1547
    PaSampleFormat inputSampleFormat, outputSampleFormat;
1549
    PaSampleFormat inputSampleFormat = 0, outputSampleFormat = 0;
1548
    PaSampleFormat hostInputSampleFormat, hostOutputSampleFormat;
1550
    PaSampleFormat hostInputSampleFormat = 0, hostOutputSampleFormat = 0;
1549
    unsigned long suggestedInputLatencyFrames, suggestedOutputLatencyFrames;
1551
    unsigned long suggestedInputLatencyFrames, suggestedOutputLatencyFrames;
1550
    PaWinDirectSoundStreamInfo *inputStreamInfo, *outputStreamInfo;
1552
    PaWinDirectSoundStreamInfo *inputStreamInfo, *outputStreamInfo;
1551
    PaWinWaveFormatChannelMask inputChannelMask, outputChannelMask;
1553
    PaWinWaveFormatChannelMask inputChannelMask, outputChannelMask;
Lines 1803-1808 Link Here
1803
                PA_DS_SET_LAST_DIRECTSOUND_ERROR( hr );
1804
                PA_DS_SET_LAST_DIRECTSOUND_ERROR( hr );
1804
                goto error;
1805
                goto error;
1805
            }
1806
            }
1807
1808
            stream->pOutputGuid = outputWinDsDeviceInfo->lpGUID;
1809
            if( stream->pOutputGuid == NULL )
1810
            {
1811
               stream->pOutputGuid = (GUID *) &DSDEVID_DefaultPlayback;
1812
            }
1813
1806
            hr = InitOutputBuffer( stream,
1814
            hr = InitOutputBuffer( stream,
1807
                                       hostOutputSampleFormat,
1815
                                       hostOutputSampleFormat,
1808
                                       (unsigned long) (sampleRate + 0.5),
1816
                                       (unsigned long) (sampleRate + 0.5),
Lines 1842-1847 Link Here
1842
                goto error;
1850
                goto error;
1843
            }
1851
            }
1844
1852
1853
            stream->pInputGuid = inputWinDsDeviceInfo->lpGUID;
1854
            if( stream->pInputGuid == NULL )
1855
            {
1856
               stream->pInputGuid = (GUID *)&DSDEVID_DefaultCapture;
1857
            }
1858
1845
            hr = paWinDsDSoundEntryPoints.DirectSoundCaptureCreate( 
1859
            hr = paWinDsDSoundEntryPoints.DirectSoundCaptureCreate( 
1846
                    ((PaWinDsDeviceInfo*)hostApi->deviceInfos[inputParameters->device])->lpGUID,
1860
                    ((PaWinDsDeviceInfo*)hostApi->deviceInfos[inputParameters->device])->lpGUID,
1847
                    &stream->pDirectSoundCapture, NULL );
1861
                    &stream->pDirectSoundCapture, NULL );
Lines 2507-2510 Link Here
2507
}
2520
}
2508
2521
2509
2522
2523
/***********************************************************************************/
2524
LPGUID PaWinDS_GetStreamInputGUID( PaStream* s )
2525
{
2526
    PaWinDsStream *stream = (PaWinDsStream*)s;
2510
2527
2528
   return stream->pInputGuid;
2529
}
2530
2531
2532
/***********************************************************************************/
2533
LPGUID PaWinDS_GetStreamOutputGUID( PaStream* s )
2534
{
2535
    PaWinDsStream *stream = (PaWinDsStream*)s;
2536
2537
    return stream->pOutputGuid;
2538
}
(-)../../../portaudio/src/hostapi/oss/pa_unix_oss.c (+23 lines)
Lines 1953-1955 Link Here
1953
    return (PaOssStreamComponent_BufferSize( stream->playback ) - delay) / PaOssStreamComponent_FrameSize( stream->playback );
1953
    return (PaOssStreamComponent_BufferSize( stream->playback ) - delay) / PaOssStreamComponent_FrameSize( stream->playback );
1954
}
1954
}
1955
1955
1956
const char *PaOSS_GetStreamInputDevice( PaStream* s )
1957
{
1958
    PaOssStream *stream = (PaOssStream*)s;
1959
1960
    if( stream->capture )
1961
    {
1962
      return stream->capture->devName;
1963
    }
1964
1965
   return NULL;
1966
}
1967
1968
const char *PaOSS_GetStreamOutputDevice( PaStream* s )
1969
{
1970
    PaOssStream *stream = (PaOssStream*)s;
1971
1972
    if( stream->playback )
1973
    {
1974
      return stream->playback->devName;
1975
    }
1976
1977
   return NULL;
1978
}

Return to bug 209494