Browse Source

Added new Test solution for windows and 2 Test projects for new OpenAL Sound

kjpou1 13 years ago
parent
commit
160bf97dad

+ 1 - 1
Tests/MacOS/SoundTest/SoundTest/Game1.cs

@@ -62,7 +62,7 @@ namespace SoundTest
 			spriteBatch = new SpriteBatch(GraphicsDevice);
 			spriteBatch = new SpriteBatch(GraphicsDevice);
 
 
 			sExplosion = Content.Load<SoundEffect>("ExplosionSound");
 			sExplosion = Content.Load<SoundEffect>("ExplosionSound");
-			sExplosion = Content.Load<SoundEffect>("laser1");
+			//sExplosion = Content.Load<SoundEffect>("laser1");
 			//sExplosion = Content.Load<SoundEffect>("FillingHoneyPot_Loop");
 			//sExplosion = Content.Load<SoundEffect>("FillingHoneyPot_Loop");
 			tExplosion = Content.Load<Texture2D>("Explosion");
 			tExplosion = Content.Load<Texture2D>("Explosion");
 		}
 		}

+ 1 - 1
Tests/MacOS/SoundTest2/SoundTest2_MacOs/Game1.cs

@@ -103,7 +103,7 @@ namespace SoundTest
 			Explosions [0].Position.X += move;
 			Explosions [0].Position.X += move;
 			pan = MathHelper.Clamp ((Explosions [0].Position.X / 512f) - 1, -1, 1);
 			pan = MathHelper.Clamp ((Explosions [0].Position.X / 512f) - 1, -1, 1);
 			eExplosion.Pan = pan;
 			eExplosion.Pan = pan;
-			Console.WriteLine (pan);
+			//Console.WriteLine (pan);
 
 
 			//Check for exit
 			//Check for exit
 			KeyboardState state = new KeyboardState ();
 			KeyboardState state = new KeyboardState ();

+ 40 - 0
Tests/MonoGame.Tests.Windows.sln

@@ -0,0 +1,40 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoundTest", "Windows\SoundTest\SoundTest.csproj", "{B1C36450-C9AA-4CDF-BF66-DB5FEA11B1EB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Framework.Windows", "..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Windows.csproj", "{7DE47032-A904-4C29-BD22-2D235E8D91BA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lidgren.Network.Windows", "..\..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.Windows.csproj", "{AE483C29-042E-4226-BA52-D247CE7676DA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoundTest2", "Windows\SoundTest2\SoundTest2.csproj", "{FE30D66F-905F-4DB6-9B36-EA66F8D2F5A2}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|x86 = Debug|x86
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|x86.ActiveCfg = Debug|x86
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|x86.Build.0 = Debug|x86
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|x86.ActiveCfg = Release|x86
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|x86.Build.0 = Release|x86
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|x86.Build.0 = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|x86.ActiveCfg = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|x86.Build.0 = Release|Any CPU
+		{B1C36450-C9AA-4CDF-BF66-DB5FEA11B1EB}.Debug|x86.ActiveCfg = Debug|x86
+		{B1C36450-C9AA-4CDF-BF66-DB5FEA11B1EB}.Debug|x86.Build.0 = Debug|x86
+		{B1C36450-C9AA-4CDF-BF66-DB5FEA11B1EB}.Release|x86.ActiveCfg = Release|x86
+		{B1C36450-C9AA-4CDF-BF66-DB5FEA11B1EB}.Release|x86.Build.0 = Release|x86
+		{FE30D66F-905F-4DB6-9B36-EA66F8D2F5A2}.Debug|x86.ActiveCfg = Debug|x86
+		{FE30D66F-905F-4DB6-9B36-EA66F8D2F5A2}.Debug|x86.Build.0 = Debug|x86
+		{FE30D66F-905F-4DB6-9B36-EA66F8D2F5A2}.Release|x86.ActiveCfg = Release|x86
+		{FE30D66F-905F-4DB6-9B36-EA66F8D2F5A2}.Release|x86.Build.0 = Release|x86
+	EndGlobalSection
+	GlobalSection(MonoDevelopProperties) = preSolution
+		BaseDirectory = Windows
+		StartupItem = Windows\SoundTest2\SoundTest2.csproj
+		outputpath = build\bin
+	EndGlobalSection
+EndGlobal