Changeset 162


Ignore:
Timestamp:
Jan 12, 2013, 8:56:33 AM (9 years ago)
Author:
roman
Message:
 
Location:
trunk/Utilities/LowLatencyWaveOutPlay
Files:
7 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/LowLatencyWaveOutPlay/LowLatencyWaveOutPlay.cpp

    r161 r162  
    3232        for(SIZE_T nIndex = 0; nIndex < nDataCount; nIndex++)
    3333                pnData[nIndex] = (SHORT) (32000 * sin(1.0 * (g_nSampleIndex + nIndex) / g_WaveFormatEx.nSamplesPerSec * g_nFrequency * 2 * M_PI));
    34         g_nSampleIndex += nDataCount;
     34        g_nSampleIndex += (ULONG) nDataCount;
    3535}
    3636VOID CALLBACK waveOutProc(HWAVEOUT hWaveOut, UINT nMessage, DWORD_PTR nInstance, DWORD_PTR nParameter1, DWORD_PTR nParameter2)
  • trunk/Utilities/LowLatencyWaveOutPlay/LowLatencyWaveOutPlay.sln

    r161 r162  
    11
    2 Microsoft Visual Studio Solution File, Format Version 11.00
    3 # Visual Studio 2010
     2Microsoft Visual Studio Solution File, Format Version 12.00
     3# Visual Studio 2012
    44Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LowLatencyWaveOutPlay", "LowLatencyWaveOutPlay.vcxproj", "{999362AF-F625-4BD5-9EDF-5969C4801E35}"
    55EndProject
     
    77        GlobalSection(SolutionConfigurationPlatforms) = preSolution
    88                Debug|Win32 = Debug|Win32
     9                Debug|x64 = Debug|x64
    910                Release|Win32 = Release|Win32
     11                Release|x64 = Release|x64
    1012        EndGlobalSection
    1113        GlobalSection(ProjectConfigurationPlatforms) = postSolution
    1214                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Debug|Win32.ActiveCfg = Debug|Win32
    1315                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Debug|Win32.Build.0 = Debug|Win32
     16                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Debug|x64.ActiveCfg = Debug|x64
     17                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Debug|x64.Build.0 = Debug|x64
    1418                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Release|Win32.ActiveCfg = Release|Win32
    1519                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Release|Win32.Build.0 = Release|Win32
     20                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Release|x64.ActiveCfg = Release|x64
     21                {999362AF-F625-4BD5-9EDF-5969C4801E35}.Release|x64.Build.0 = Release|x64
    1622        EndGlobalSection
    1723        GlobalSection(SolutionProperties) = preSolution
  • trunk/Utilities/LowLatencyWaveOutPlay/LowLatencyWaveOutPlay.vcxproj

    r161 r162  
    66      <Platform>Win32</Platform>
    77    </ProjectConfiguration>
     8    <ProjectConfiguration Include="Debug|x64">
     9      <Configuration>Debug</Configuration>
     10      <Platform>x64</Platform>
     11    </ProjectConfiguration>
    812    <ProjectConfiguration Include="Release|Win32">
    913      <Configuration>Release</Configuration>
    1014      <Platform>Win32</Platform>
     15    </ProjectConfiguration>
     16    <ProjectConfiguration Include="Release|x64">
     17      <Configuration>Release</Configuration>
     18      <Platform>x64</Platform>
    1119    </ProjectConfiguration>
    1220  </ItemGroup>
     
    2331    <UseOfAtl>Static</UseOfAtl>
    2432  </PropertyGroup>
     33  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     34    <ConfigurationType>Application</ConfigurationType>
     35    <UseDebugLibraries>true</UseDebugLibraries>
     36    <CharacterSet>Unicode</CharacterSet>
     37    <UseOfAtl>Static</UseOfAtl>
     38  </PropertyGroup>
    2539  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     40    <ConfigurationType>Application</ConfigurationType>
     41    <UseDebugLibraries>false</UseDebugLibraries>
     42    <WholeProgramOptimization>true</WholeProgramOptimization>
     43    <CharacterSet>Unicode</CharacterSet>
     44    <UseOfAtl>Static</UseOfAtl>
     45  </PropertyGroup>
     46  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    2647    <ConfigurationType>Application</ConfigurationType>
    2748    <UseDebugLibraries>false</UseDebugLibraries>
     
    3657    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    3758  </ImportGroup>
     59  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
     60    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     61  </ImportGroup>
    3862  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     63    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     64  </ImportGroup>
     65  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    3966    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    4067  </ImportGroup>
     
    4269  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    4370    <LinkIncremental>true</LinkIncremental>
     71    <OutDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\</OutDir>
     72    <IntDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
     73  </PropertyGroup>
     74  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
     75    <LinkIncremental>true</LinkIncremental>
     76    <OutDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\</OutDir>
     77    <IntDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
    4478  </PropertyGroup>
    4579  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    4680    <LinkIncremental>false</LinkIncremental>
     81    <OutDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\</OutDir>
     82    <IntDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
     83  </PropertyGroup>
     84  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
     85    <LinkIncremental>false</LinkIncremental>
     86    <OutDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\</OutDir>
     87    <IntDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
    4788  </PropertyGroup>
    4889  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     90    <ClCompile>
     91      <PrecompiledHeader>Use</PrecompiledHeader>
     92      <WarningLevel>Level3</WarningLevel>
     93      <Optimization>Disabled</Optimization>
     94      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     95    </ClCompile>
     96    <Link>
     97      <SubSystem>Console</SubSystem>
     98      <GenerateDebugInformation>true</GenerateDebugInformation>
     99    </Link>
     100  </ItemDefinitionGroup>
     101  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    49102    <ClCompile>
    50103      <PrecompiledHeader>Use</PrecompiledHeader>
     
    80133    </Link>
    81134  </ItemDefinitionGroup>
     135  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
     136    <ClCompile>
     137      <WarningLevel>Level3</WarningLevel>
     138      <PrecompiledHeader>Use</PrecompiledHeader>
     139      <Optimization>Full</Optimization>
     140      <FunctionLevelLinking>true</FunctionLevelLinking>
     141      <IntrinsicFunctions>true</IntrinsicFunctions>
     142      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     143      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
     144      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
     145      <OmitFramePointers>true</OmitFramePointers>
     146      <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
     147      <StringPooling>true</StringPooling>
     148      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
     149    </ClCompile>
     150    <Link>
     151      <SubSystem>Console</SubSystem>
     152      <GenerateDebugInformation>true</GenerateDebugInformation>
     153      <EnableCOMDATFolding>true</EnableCOMDATFolding>
     154      <OptimizeReferences>true</OptimizeReferences>
     155    </Link>
     156  </ItemDefinitionGroup>
    82157  <ItemGroup>
    83158    <ClInclude Include="stdafx.h" />
     
    87162    <ClCompile Include="stdafx.cpp">
    88163      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
     164      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
    89165      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
     166      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
    90167    </ClCompile>
    91168    <ClCompile Include="LowLatencyWaveOutPlay.cpp" />
Note: See TracChangeset for help on using the changeset viewer.