! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
mainwin.c: audio_num_buffers set to 5 instead of 230 in ~/.xine/config
Status:
RESOLVED: WONTFIX
Product:
Xfmedia
Component:
general

Comments

Description Rick 2009-06-29 17:40:48 CEST
After running xfmedia, the number of audio buffers is reduced to 5 from the default of 230 in ~/.xine/config.  This causes severe audio problems when the xine plugin is used later to view video on-line in firefox.

Incorrect value in ~/.xine/config:

# number of audio buffers
# numeric, default: 230
engine.buffers.audio_num_buffers:5

The problem is caused by a typographical error in mainwin.c:

--- work/xfmedia-0.9.2/src/mainwin.c	2006-11-27 02:21:23.000000000 -0500
+++ /root/mainwin.c	2009-06-29 09:00:07.000000000 -0400
@@ -189,7 +189,7 @@
         xine_config_update_entry(xine, &cfgentry_v);
     }
     if(real_aud_bufsize != -1) {
-        cfgentry_v.num_value = real_aud_bufsize;
+        cfgentry_a.num_value = real_aud_bufsize;
         xine_config_update_entry(xine, &cfgentry_a);
     }
 }

After recompiling, and regenerating ~/.xine/config, the correct result is:

# number of audio buffers
# numeric, default: 230
#engine.buffers.audio_num_buffers:230

Note that it is necessary to remove or edit the old ~/.xine/config once to reset the value.


FreeBSD 7.2-RELEASE
xorg-7.4_2
xfce-4.6.1
xfce4-media-0.9.2_11
libxine-1.1.16.3
npapi-xine-1.0.2
Comment 1 Robby Workman editbugs 2014-12-02 21:48:51 CET
Xfmedia is unmaintained.

Bug #5516

Reported by:
Rick
Reported on: 2009-06-29
Last modified on: 2014-12-02

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Target Milestone:
xfmedia-0.10.0

Attachments

Additional information