mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-18 06:31:20 +01:00
Add volume support for WASAPI
Lost portion of the r12594 commit.
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_MME 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_WASAPI 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;PX_USE_WIN_MME"
|
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
EnableFunctionLevelLinking="true"
|
EnableFunctionLevelLinking="true"
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_MME 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_WASAPI 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;PX_USE_WIN_MME"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_MME 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_WASAPI 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;PX_USE_WIN_MME"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
@@ -230,7 +230,7 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_MME 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
echo #define PX_USE_WIN_WASAPI 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
AdditionalIncludeDirectories="..\..\..\lib-src\portmixer\include;..\..\..\lib-src\portaudio-v19\include;"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;PX_USE_WIN_MME"
|
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
EnableFunctionLevelLinking="true"
|
EnableFunctionLevelLinking="true"
|
||||||
@@ -354,6 +354,10 @@
|
|||||||
RelativePath="..\..\..\lib-src\portmixer\src\px_win_endpoint.h"
|
RelativePath="..\..\..\lib-src\portmixer\src\px_win_endpoint.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\lib-src\portmixer\src\px_win_wasapi.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\lib-src\portmixer\src\px_win_wmme.c"
|
RelativePath="..\..\..\lib-src\portmixer\src\px_win_wmme.c"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user