[banshee/windows: 7/7] More windows tweaks



commit d650f2847bf398998bf70b50a1ad2670f8f4da2c
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Fri May 1 12:53:01 2009 -0500

    More windows tweaks
---
 libbanshee/banshee-player-pipeline.c               |    7 +++++--
 libbanshee/libbanshee.vcproj                       |    2 +-
 .../Banshee.GStreamer/Banshee.GStreamer/Service.cs |    4 ++--
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/libbanshee/banshee-player-pipeline.c b/libbanshee/banshee-player-pipeline.c
index f5aff11..06adf38 100644
--- a/libbanshee/banshee-player-pipeline.c
+++ b/libbanshee/banshee-player-pipeline.c
@@ -197,9 +197,12 @@ _bp_pipeline_construct (BansheePlayer *player)
     // fall back on auto, which should work on windows, and as a last ditch, try alsa
     audiosink = gst_element_factory_make ("gconfaudiosink", "audiosink");
     if (audiosink == NULL) {
-        audiosink = gst_element_factory_make ("autoaudiosink", "audiosink");
+        audiosink = gst_element_factory_make ("directsoundsink", "audiosink");
         if (audiosink == NULL) {
-            audiosink = gst_element_factory_make ("alsasink", "audiosink");
+            audiosink = gst_element_factory_make ("autoaudiosink", "audiosink");
+            if (audiosink == NULL) {
+                audiosink = gst_element_factory_make ("alsasink", "audiosink");
+            }
         }
     }
     
diff --git a/libbanshee/libbanshee.vcproj b/libbanshee/libbanshee.vcproj
index f9916fa..ed3c05f 100644
--- a/libbanshee/libbanshee.vcproj
+++ b/libbanshee/libbanshee.vcproj
@@ -63,7 +63,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies="glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib gio-2.0.lib gettextpo.lib intl.lib gstcontroller-0.10.lib gstbase-0.10.lib gstreamer-0.10.lib gstpbutils-0.10.lib gstcdda-0.10.lib gsttag-0.10.lib"
+				AdditionalDependencies="glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib gio-2.0.lib gettextpo.lib intl.lib gstcontroller-0.10-0.lib gstbase-0.10-0.lib gstreamer-0.10-0.lib gstpbutils-0.10-0.lib gstcdda-0.10-0.lib gsttag-0.10-0.lib"
 				LinkIncremental="2"
 				AdditionalLibraryDirectories="&quot;C:\Documents and Settings\Administrator\Desktop\Code\deps\gettext\lib&quot;;&quot;C:\Documents and Settings\Administrator\Desktop\Code\deps\gst-plugins-base\lib&quot;;&quot;C:\Documents and Settings\Administrator\Desktop\Code\deps\gstreamer\lib&quot;;&quot;C:\Documents and Settings\Administrator\Desktop\Code\deps\glib\lib&quot;"
 				GenerateDebugInformation="true"
diff --git a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs
index c4ebf3c..f86db09 100644
--- a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs
+++ b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs
@@ -61,12 +61,12 @@ namespace Banshee.GStreamer
             // Setup the gst plugins/registry paths if running Windows
             if (!Banshee.Base.PlatformHacks.IsRunningUnix) {
                 string [] gst_paths = new String [] {
-                    "..\\..\\deps\\gst-plugins-base\\lib"
+                    "gst-plugins"
                 };
             
                 System.Environment.SetEnvironmentVariable ("GST_PLUGIN_PATH", String.Join (";", gst_paths));
                 System.Environment.SetEnvironmentVariable ("GST_PLUGIN_SYSTEM_PATH", "");
-                System.Environment.SetEnvironmentVariable ("GST_DEBUG", "4");
+                System.Environment.SetEnvironmentVariable ("GST_DEBUG", "1");
 
                 string registry = "registry.bin";
                 if (!System.IO.File.Exists (registry)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]