[sound-juicer/gnome-2-26] Disable paranoia on playback
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [sound-juicer/gnome-2-26] Disable paranoia on playback
- Date: Wed, 24 Jun 2009 13:48:50 +0000 (UTC)
commit 0098bf56d9c905cd97ac516803c91b42919d18a7
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]