From 52727a5abc3f58dd1da5e778017e60d1101fc137 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Sat, 19 Dec 2015 11:01:04 +0100
Subject: [PATCH 1/3] Removed the PitchTracker nuget packages as the
PitchTracker.dll is generated from source (fixes #173)
---
Vocaluxe/Vocaluxe.csproj | 57 ++++++++++++++++------------------------
Vocaluxe/packages.config | 3 +--
2 files changed, 23 insertions(+), 37 deletions(-)
diff --git a/Vocaluxe/Vocaluxe.csproj b/Vocaluxe/Vocaluxe.csproj
index b5064548..6c0011d3 100644
--- a/Vocaluxe/Vocaluxe.csproj
+++ b/Vocaluxe/Vocaluxe.csproj
@@ -336,7 +336,9 @@
PreserveNewest
-
+
+ Designer
+
@@ -506,41 +508,28 @@ powershell -command "(Get-Content -Encoding UTF8 '$(ProjectDir)Properties\Assemb
-
+
-
+
-
-
-
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -553,13 +542,12 @@ powershell -command "(Get-Content -Encoding UTF8 '$(ProjectDir)Properties\Assemb
-
-
+
@@ -568,11 +556,10 @@ powershell -command "(Get-Content -Encoding UTF8 '$(ProjectDir)Properties\Assemb
-
-
+
\ No newline at end of file
diff --git a/Vocaluxe/packages.config b/Vocaluxe/packages.config
index 45a181a9..fe9f7814 100644
--- a/Vocaluxe/packages.config
+++ b/Vocaluxe/packages.config
@@ -1,6 +1,6 @@
-
+
@@ -9,7 +9,6 @@
-
From f860afdbd4d5b828125798f958fe731cb32b49d1 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Sat, 19 Dec 2015 14:33:45 +0100
Subject: [PATCH 2/3] Fallback to local GSTREAMER lib if the GSTREAMER
EnvironmentVariable exists but the targeted folder does not exists
---
.../Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs b/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs
index 683e3d75..73c624f8 100644
--- a/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs
+++ b/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs
@@ -37,7 +37,7 @@ namespace Vocaluxe.Lib.Sound.Playback.GstreamerSharp
#endif
string gstreamerEnvVar = Environment.GetEnvironmentVariable(varName, EnvironmentVariableTarget.User);
string dllDirectory;
- if (gstreamerEnvVar == null)
+ if (gstreamerEnvVar == null || !Directory.Exists(gstreamerEnvVar))
{
#if ARCH_X86
dllDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\gstreamer86\\bin\\");
From 67f37b440bdc89a872932a92f1920ea3947e391c Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Sun, 20 Dec 2015 13:48:19 +0100
Subject: [PATCH 3/3] Changed PitchTracker build to static linking to get rid
of runtime version conficts (size increase is not huge: 52KB -> 267KB)
---
PitchTracker/PitchTracker.vcxproj | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/PitchTracker/PitchTracker.vcxproj b/PitchTracker/PitchTracker.vcxproj
index b5fb8ca0..77d7b228 100644
--- a/PitchTracker/PitchTracker.vcxproj
+++ b/PitchTracker/PitchTracker.vcxproj
@@ -109,6 +109,7 @@
true
Fast
false
+ MultiThreadedDebug
Windows
@@ -127,6 +128,7 @@
true
Fast
false
+ MultiThreadedDebug
Windows
@@ -148,6 +150,7 @@
Speed
Fast
false
+ MultiThreaded
Windows
@@ -170,6 +173,7 @@
true
Speed
Fast
+ MultiThreaded
Windows
@@ -212,6 +216,6 @@
-
+
-
+
\ No newline at end of file