[sound-juicer] Disable paranoia on playback



commit a7c9526a87382c9993d908482009d6c0f4c0c083
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 24 14:46:35 2009 +0100

    Disable paranoia on playback
    
    So that the cdparanoia plugin buffers less, and we don't spend
    too much time reading from the drive.

 src/sj-play.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/sj-play.c b/src/sj-play.c
index c1f746b..56ea530 100644
--- a/src/sj-play.c
+++ b/src/sj-play.c
@@ -373,6 +373,10 @@ setup (GError **err)
     	              "read-speed", 2,
                       NULL);
     }
+    /* Disable paranoia in playback mode */
+    if (g_object_class_find_property (G_OBJECT_GET_CLASS (source), "paranoia-mode"))
+      g_object_set (source, "paranoia-mode", 0, NULL);
+
     g_object_set (G_OBJECT (cdp),
                   "device", brasero_drive_get_device (drive),
                   NULL);



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