changeset 1146:7e208feb36a2 trunk

[svn] - new global variable `output_buffer_size', replaces all of the per-plugin buffer sizes
author nenolod
date Sun, 04 Jun 2006 21:21:33 -0700
parents 343e06eaef5f
children aef9aa10e0c0
files audacious/main.c audacious/main.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/main.c	Sun Jun 04 21:01:04 2006 -0700
+++ b/audacious/main.c	Sun Jun 04 21:21:33 2006 -0700
@@ -195,6 +195,9 @@
     3,                          /* scroll pl by */
     FALSE,                      /* resume playback on startup */
     -1,                         /* resume playback on startup time */
+    NULL,
+    NULL,
+    3000,
 };
 
 typedef struct bmp_cfg_boolent_t {
@@ -314,6 +317,7 @@
     {"scroll_pl_by", &cfg.scroll_pl_by, TRUE},
     {"titlestring_preset", &cfg.titlestring_preset, TRUE},
     {"resume_playback_on_startup_time", &cfg.resume_playback_on_startup_time, TRUE},
+    {"output_buffer_size", &cfg.output_buffer_size, TRUE},
 };
 
 static gint ncfgient = G_N_ELEMENTS(bmp_numents);
@@ -563,11 +567,6 @@
                                 bmp_boolents[i].be_vname,
                                 *bmp_boolents[i].be_vloc);
 
-    /* HACK: Work-around for bug #129 */
-    /*
-    bmp_cfg_db_set_bool(db, NULL, "playlist_shaded",
-		        FALSE);
-    */
     for (i = 0; i < ncfgient; ++i)
         if (bmp_numents[i].ie_wrt)
             bmp_cfg_db_set_int(db, NULL,
--- a/audacious/main.h	Sun Jun 04 21:01:04 2006 -0700
+++ b/audacious/main.h	Sun Jun 04 21:21:33 2006 -0700
@@ -109,6 +109,7 @@
     gboolean show_separator_in_pl;
     gchar *chardet_detector;
     gchar *chardet_fallback;
+    gint output_buffer_size;
 };
 
 typedef struct _BmpConfig BmpConfig;