Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 6ca52c9

Browse files
committed
More Cleanup and use WINDOWS_UWP where possible instead of DESKTOP_APP.
Fix XAudio to correctly handle DESKTOP_APP backend 2.7 resolve.
1 parent caeb0d9 commit 6ca52c9

22 files changed

Lines changed: 49 additions & 57 deletions

Build/SharpDX.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
44
<DebugType>full</DebugType>
55
<DefineConstants>$(DefineConstants);DIRECTX11_1;DIRECTX11_2;DirectX12</DefineConstants>
6+
7+
<PackageIconUrl>http://sharpdx.org/logo_100x100.png</PackageIconUrl>
8+
<PackageLicenseUrl>http://sharpdx.org/License.txt</PackageLicenseUrl>
9+
<PackageProjectUrl>http://sharpdx.org</PackageProjectUrl>
10+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
11+
<PackageTags>SharpDX DirectX Direct3D Multimedia MDX 3D</PackageTags>
12+
13+
<Authors>Alexandre Mutel</Authors>
14+
<Owners>Alexandre Mutel</Owners>
15+
<Company>Alexandre Mutel</Company>
16+
<Copyright>Copyright (c) 2010-2016 Alexandre Mutel</Copyright>
17+
<NeutralLanguage>en-US</NeutralLanguage>
18+
<Version>4.0.1</Version>
19+
<AssemblyVersion>$(Version)</AssemblyVersion>
20+
<Version Condition=" '$(SharpDXPackagingDev)' == 'true' ">$(Version)-ci$(SharpDXBuildNumber)</Version>
621
<PackageOutputPath>$(SolutionDir)bin</PackageOutputPath>
722
</PropertyGroup>
823
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('$(SolutionDir)sharpdx.snk')">

Directory.Build.props

Lines changed: 0 additions & 23 deletions
This file was deleted.

SharpDX-Sources.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpDX.Direct3D10", "Sourc
5252
EndProject
5353
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{C3D5FB70-8EA0-4493-B1C3-8A2C73605C4B}"
5454
ProjectSection(SolutionItems) = preProject
55-
Directory.Build.props = Directory.Build.props
5655
Build\SharpDX.props = Build\SharpDX.props
5756
Build\SharpDX.targets = Build\SharpDX.targets
5857
EndProjectSection

Source/SharedAssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
[assembly:ComVisible(false)]
2626

27-
#if STORE_APP
27+
#if WINDOWS_UWP
2828
[assembly: Obfuscation(Feature = "Apply to type SharpDX.* when public and interface: renaming", Exclude = false, ApplyToMembers = true)]
2929
[assembly: Obfuscation(Feature = "Apply to type SharpDX.* when struct: renaming", Exclude = false, ApplyToMembers = true)]
3030
[assembly: Obfuscation(Feature = "Apply to type SharpDX.*: INotifyPropertyChanged heuristics", Exclude = true)]

Source/SharpDX.RawInput/Mapping.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<namespace>SharpDX.RawInput</namespace>
2727
<assembly>SharpDX.RawInput</assembly>
28-
28+
2929
<include file="winuser.h">
3030
<attach>RAWINPUTHEADER</attach>
3131
<!--<attach>RAWMOUSE</attach>-->

Source/SharpDX.XAudio2/Fx/Reverb.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public Reverb(XAudio2 device) : this(device, false)
4141
public Reverb(XAudio2 device, bool isUsingDebug)
4242
: base(device)
4343
{
44-
#if !STORE_APP
44+
#if !WINDOWS_UWP
4545
if (device.Version == XAudio2Version.Version27)
4646
{
4747
Guid clsid = (isUsingDebug) ? XAudio2FxContants.CLSID_AudioReverb_Debug : XAudio2FxContants.CLSID_AudioReverb;
@@ -53,7 +53,7 @@ public Reverb(XAudio2 device, bool isUsingDebug)
5353
{
5454
XAudio28Functions.CreateAudioReverb(this);
5555
}
56-
#if STORE_APP
56+
#if WINDOWS_UWP
5757
else if (device.Version == XAudio2Version.Version29)
5858
{
5959
XAudio29Functions.CreateAudioReverb(this);

Source/SharpDX.XAudio2/Fx/VolumeMeter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public VolumeMeter(XAudio2 device)
4646
public VolumeMeter(XAudio2 device, bool isUsingDebug)
4747
: base(device)
4848
{
49-
#if !STORE_APP
49+
#if !WINDOWS_UWP
5050
if (device.Version == XAudio2Version.Version27)
5151
{
5252
Guid clsid = (isUsingDebug) ? XAudio2FxContants.CLSID_AudioVolumeMeter_Debug : XAudio2FxContants.CLSID_AudioVolumeMeter;
@@ -58,7 +58,7 @@ public VolumeMeter(XAudio2 device, bool isUsingDebug)
5858
{
5959
XAudio28Functions.CreateAudioVolumeMeter(this);
6060
}
61-
#if STORE_APP
61+
#if WINDOWS_UWP
6262
else if (device.Version == XAudio2Version.Version29)
6363
{
6464
XAudio29Functions.CreateAudioVolumeMeter(this);

Source/SharpDX.XAudio2/X3DAudio/X3DAudio17.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// the code is regenerated.
2929
// </auto-generated>
3030
//------------------------------------------------------------------------------
31-
#if DESKTOP_APP
31+
#if !WINDOWS_UWP
3232
using System;
3333
using System.Runtime.InteropServices;
3434
using System.Security;

Source/SharpDX.XAudio2/X3DAudio/X3DAudio29.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// the code is regenerated.
2929
// </auto-generated>
3030
//------------------------------------------------------------------------------
31-
#if STORE_APP_10
31+
#if WINDOWS_UWP
3232
using System;
3333
using System.Runtime.InteropServices;
3434
using System.Security;

Source/SharpDX.XAudio2/XAPO/Fx/XAPOFx.Interop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace SharpDX.XAPO.Fx
88
/// </summary>
99
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='SharpDX.XAPO.Fx.XAPOFx']/*"/>
1010
static partial class XAPOFx {
11-
#if STORE_APP
11+
#if WINDOWS_UWP
1212
/// <summary>
1313
/// <p>Creates an instance of the requested XAPOFX effect.</p>
1414
/// </summary>

0 commit comments

Comments
 (0)