[rygel] core,gst-plugins: Move Volume class to core



commit a841c0974af6d0607cb8ed33a314219bfd664306
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Aug 1 01:49:33 2010 +0300

    core,gst-plugins: Move Volume class to core

 src/plugins/gst-renderer/Makefile.am               |    1 -
 src/rygel/Makefile.am                              |    3 ++-
 .../rygel-volume.vala}                             |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/gst-renderer/Makefile.am b/src/plugins/gst-renderer/Makefile.am
index ef8a486..c62eaaa 100644
--- a/src/plugins/gst-renderer/Makefile.am
+++ b/src/plugins/gst-renderer/Makefile.am
@@ -22,7 +22,6 @@ librygel_gst_renderer_la_SOURCES = rygel-gst-renderer-connection-manager.vala \
 				   rygel-gst-renderer-av-transport.vala \
 				   rygel-gst-renderer-player.vala \
 				   rygel-gst-renderer-plugin.vala \
-				   rygel-gst-renderer-volume.vala \
 				   rygel-gst-renderer-time.vala
 
 librygel_gst_renderer_la_VALAFLAGS = --vapidir=$(top_srcdir)/src/rygel \
diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am
index bd8042d..c47f88c 100644
--- a/src/rygel/Makefile.am
+++ b/src/rygel/Makefile.am
@@ -108,7 +108,8 @@ VAPI_SOURCE_FILES = rygel-configuration.vala \
 		    rygel-media-receiver-registrar.vala \
 		    rygel-log-handler.vala \
 		    rygel-player.vala \
-		    rygel-changelog.vala
+		    rygel-changelog.vala \
+		    rygel-volume.vala
 
 rygel_VALAFLAGS = \
 	-H rygel.h -C --library=rygel-1.0 --vapidir=$(srcdir) --thread \
diff --git a/src/plugins/gst-renderer/rygel-gst-renderer-volume.vala b/src/rygel/rygel-volume.vala
similarity index 96%
rename from src/plugins/gst-renderer/rygel-gst-renderer-volume.vala
rename to src/rygel/rygel-volume.vala
index 00a7c97..d7be26e 100644
--- a/src/plugins/gst-renderer/rygel-gst-renderer-volume.vala
+++ b/src/rygel/rygel-volume.vala
@@ -23,7 +23,7 @@
 
 // Helper class for converting between double and percentage representations
 // of volume.
-private class Rygel.GstRenderer.Volume {
+internal class Rygel.Volume {
     public static double from_percentage (uint percentage) {
         return (double) percentage / 100.0;
     }



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