Skip to content

Commit

Permalink
Fixed merge mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
filoe committed Jun 4, 2015
1 parent 2661a07 commit fa6f8db
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 101 deletions.
144 changes: 64 additions & 80 deletions CSCore/CSCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -127,30 +127,19 @@
<Compile Include="Codecs\ConnectionEstablishedEventArgs.cs" />
<Compile Include="Codecs\DDP\DDPDecoder.cs" />
<Compile Include="Codecs\CodecFactory.cs" />
<Compile Include="Codecs\FLAC\BlockingStrategy.cs" />
<Compile Include="Codecs\FLAC\ChannelAssignment.cs" />
<Compile Include="Codecs\FLAC\FlacException.cs" />
<Compile Include="Codecs\FLAC\FlacConstant.cs" />
<<<<<<< HEAD
=======
<Compile Include="Codecs\FLAC\FlacResidualCodingMethod.cs" />
>>>>>>> version_1_1
<Compile Include="Codecs\FLAC\FlacFile.cs" />
<Compile Include="Codecs\FLAC\FlacFrame.cs" />
<Compile Include="Codecs\FLAC\FlacFrameHeader.cs" />
<Compile Include="Codecs\FLAC\FlacFrameInformation.cs" />
<Compile Include="Codecs\FLAC\FlacLayer.cs" />
<<<<<<< HEAD
<Compile Include="Codecs\FLAC\FlacPreScan.cs" />
<Compile Include="Codecs\FLAC\FlacPreScanFinishedEventArgs.cs" />
<Compile Include="Codecs\FLAC\FlacPreScanMode.cs" />
<Compile Include="Codecs\FLAC\FlacResidualCodingMethod.cs" />
=======
<Compile Include="Codecs\FLAC\BlockingStrategy.cs" />
<Compile Include="Codecs\FLAC\FlacPreScan.cs" />
<Compile Include="Codecs\FLAC\FlacPreScanFinishedEventArgs.cs" />
<Compile Include="Codecs\FLAC\FlacPreScanMode.cs" />
>>>>>>> version_1_1
<Compile Include="Codecs\FLAC\FlacSubFrameData.cs" />
<Compile Include="Codecs\FLAC\Metadata\FlacMetadata.cs" />
<Compile Include="Codecs\FLAC\Metadata\FlacMetadataSeekTable.cs" />
Expand Down Expand Up @@ -294,12 +283,8 @@
<Compile Include="DSP\FftMode.cs" />
<Compile Include="DSP\FftSize.cs" />
<Compile Include="FluentExtensions.cs" />
<<<<<<< HEAD
<Compile Include="IWaveAggregator.cs" />
=======
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="IReadableAudioSource.cs" />
>>>>>>> version_1_1
<Compile Include="IWriteable.cs" />
<Compile Include="MediaFoundation\CommonAudioDecoderGuids.cs" />
<Compile Include="MediaFoundation\IMFCollection.cs" />
Expand Down Expand Up @@ -591,10 +576,7 @@
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AudioSubTypes.cs</LastGenOutput>
</None>
<<<<<<< HEAD
=======
<None Include="Base.cd" />
>>>>>>> version_1_1
<None Include="Codecs\FLAC\SubFrames\FlacSubFrameLPC_Calculation.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>FlacSubFrameLPC_Calculation.cs</LastGenOutput>
Expand All @@ -605,77 +587,79 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>@echo off &amp; setLocal EnableDELAYedeXpansion
chcp 65001
<PostBuildEvent>
@echo off &amp; setLocal EnableDELAYedeXpansion
chcp 65001

set errorCode=0
set errorCode=0

set target=$(TargetPath)
set project=$(ProjectPath)
set target=$(TargetPath)
set project=$(ProjectPath)

set sdk=%25PROGRAMFILES(x86)%25\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
set framework=%25WINDIR%25\Microsoft.NET\Framework\v2.0.50727
set inlineILCompiler=$(SolutionDir)Tools\InlineILCompiler\InlineILCompiler\bin\$(ConfigurationName)\InlineILCompiler.exe
set cscli=$(SolutionDir)Tools\CSCli\bin\$(ConfigurationName)\CSCli.exe
set sdk=%25PROGRAMFILES(x86)%25\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
set framework=%25WINDIR%25\Microsoft.NET\Framework\v2.0.50727
set inlineILCompiler=$(SolutionDir)Tools\InlineILCompiler\InlineILCompiler\bin\$(ConfigurationName)\InlineILCompiler.exe
set cscli=$(SolutionDir)Tools\CSCli\bin\$(ConfigurationName)\CSCli.exe

IF exist "%25sdk%25\." (
echo ✔ The Microsoft Windows SDK was found.
) else (
echo ✘ The Microsoft Windows SDK Dir was not found. Check the following path: "%25sdk%25"
goto EXIT_ERR
)
IF exist "%25framework%25\." (
echo ✔ The .NET Framework Dir was found.
) else (
echo ✘ The Framework-Dir was not found. Check the following path: "%25framework%25"
goto EXIT_ERR
)
IF exist "%25inlineILCompiler%25" (
echo ✔ Found the inline-il-compiler.
) else (
echo ✘ The inline-il-compiler was not found. Check the following path: "%25inlineILCompiler%25"
goto EXIT_ERR
)
IF exist "%25cscli%25" (
echo ✔ Found the cscli-compiler.
) else (
echo ✘ The cscli was not found. Check the following path: "%25cscli%25"
goto EXIT_ERR
)
IF exist "%25sdk%25\." (
echo ✔ The Microsoft Windows SDK was found.
) else (
echo ✘ The Microsoft Windows SDK Dir was not found. Check the following path: "%25sdk%25"
goto EXIT_ERR
)
IF exist "%25framework%25\." (
echo ✔ The .NET Framework Dir was found.
) else (
echo ✘ The Framework-Dir was not found. Check the following path: "%25framework%25"
goto EXIT_ERR
)
IF exist "%25inlineILCompiler%25" (
echo ✔ Found the inline-il-compiler.
) else (
echo ✘ The inline-il-compiler was not found. Check the following path: "%25inlineILCompiler%25"
goto EXIT_ERR
)
IF exist "%25cscli%25" (
echo ✔ Found the cscli-compiler.
) else (
echo ✘ The cscli was not found. Check the following path: "%25cscli%25"
goto EXIT_ERR
)

if $(ConfigurationName) == Debug (
echo Build-Configuration: DEBUG
echo ✔ DEBUG=IMPL
echo ✘ OPTIMIZE
set ilasm_args=/DLL /DEBUG=IMPL
) else (
if $(ConfigurationName) == Release (
echo Build-Configuration: RELEASE
echo ✘ DEBUG
echo ✔ OPTIMIZE
set ilasm_args=/DLL /OPTIMIZE
) else (
echo ✘ Invalid Configuration.
goto EXIT_ERR
)
)
if $(ConfigurationName) == Debug (
echo Build-Configuration: DEBUG
echo ✔ DEBUG=IMPL
echo ✘ OPTIMIZE
set ilasm_args=/DLL /DEBUG=IMPL
) else (
if $(ConfigurationName) == Release (
echo Build-Configuration: RELEASE
echo ✘ DEBUG
echo ✔ OPTIMIZE
set ilasm_args=/DLL /OPTIMIZE
) else (
echo ✘ Invalid Configuration.
goto EXIT_ERR
)
)

echo.
echo.
echo Calling the inline-il-compiler ...
call %25inlineILCompiler%25
echo.
echo.
echo Calling the inline-il-compiler ...
call %25inlineILCompiler%25

echo.
echo.
echo Calling CSCli ...
call "%25cscli%25" -file:"$(TargetPath)" -r:"RemoveObjAttribute" -c:"CSCalliAttribute"
echo.
echo.
echo Calling CSCli ...
call "%25cscli%25" -file:"$(TargetPath)" -r:"RemoveObjAttribute" -c:"CSCalliAttribute"

:EXIT
REM EXIT /B %25errorCode%25
:EXIT
REM EXIT /B %25errorCode%25

:EXIT_ERR
set errorCode=-1
REM goto EXIT</PostBuildEvent>
:EXIT_ERR
set errorCode=-1
REM goto EXIT
</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PreBuildEvent>
Expand Down
13 changes: 0 additions & 13 deletions CSCore/IWaveAggregator.cs

This file was deleted.

2 changes: 1 addition & 1 deletion CSCore/XAudio2/XAudio2Processor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public enum XAudio2Processor
/// <summary>
/// Default processor for XAudio2.7, which is defined as <see cref="Xaudio2AnyProcessor"/>.
/// </summary>
Xaudio27DefaultProcessor = Xaudio2AnyProcessor,
XAudio27DefaultProcessor = Xaudio2AnyProcessor,

/// <summary>
/// Default processor for XAudio2.8, which is defined as <see cref="Processor1"/>.
Expand Down
8 changes: 4 additions & 4 deletions CSCore/XAudio2/XAudio2_7.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public XAudio2_7(IntPtr ptr)
/// </summary>
/// <remarks>This constructor already calls <see cref="Initialize" />. Don't call it a second time.</remarks>
public XAudio2_7()
: this(false, XAudio2Processor.Xaudio27DefaultProcessor)
: this(false, XAudio2Processor.XAudio27DefaultProcessor)
{
}

Expand All @@ -86,7 +86,7 @@ public XAudio2_7()
/// mode.
/// </param>
/// <param name="processor">
/// Specifies which CPU to use. Use <see cref="XAudio2Processor.Xaudio27DefaultProcessor" /> as
/// Specifies which CPU to use. Use <see cref="XAudio2Processor.XAudio27DefaultProcessor" /> as
/// default value.
/// </param>
/// <remarks>This constructor already calls <see cref="Initialize" />. Don't call it a second time.</remarks>
Expand Down Expand Up @@ -181,7 +181,7 @@ public DeviceDetails GetDeviceDetails(int deviceIndex)
/// </summary>
/// <param name="flags">Flags that specify the behavior of the XAudio2 object. This value must be 0.</param>
/// <param name="processor">
/// Specifies which CPU to use. Use <see cref="XAudio2Processor.Xaudio27DefaultProcessor" /> as default value.
/// Specifies which CPU to use. Use <see cref="XAudio2Processor.XAudio27DefaultProcessor" /> as default value.
/// </param>
/// <returns>HRESULT</returns>
public unsafe int InitializeNative(int flags, XAudio2Processor processor)
Expand All @@ -194,7 +194,7 @@ public unsafe int InitializeNative(int flags, XAudio2Processor processor)
/// </summary>
/// <param name="flags">Flags that specify the behavior of the XAudio2 object. This value must be 0.</param>
/// <param name="processor">
/// Specifies which CPU to use. Use <see cref="XAudio2Processor.Xaudio27DefaultProcessor" /> as default value.
/// Specifies which CPU to use. Use <see cref="XAudio2Processor.XAudio27DefaultProcessor" /> as default value.
/// </param>
public void Initialize(int flags, XAudio2Processor processor)
{
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<<<<<<< HEAD
![CSCore Logo](http://fs1.directupload.net/images/150528/h8n8qwyc.png)


=======
>>>>>>> version_1_1
# CSCore - .NET Audio Library #

CSCore is a free .NET audio library which is completely written in C#. Although it is still a rather young project, it offers tons of features like playing or capturing audio, en- or decoding many different codecs, effects and much more!
Expand Down

0 comments on commit fa6f8db

Please sign in to comment.