[Gstreamer-bugs] [Bug 142493] New: - default fragment size in osssink is too small
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Thu May 13 13:18:30 PDT 2004
http://bugzilla.gnome.org/show_bug.cgi?id=142493
GStreamer | gst-plugins | Ver: 0.8.1
Summary: default fragment size in osssink is too small
Product: GStreamer
Version: 0.8.1
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins
AssignedTo: gstreamer-maint at bugzilla.gnome.org
ReportedBy: dcm at acm.org
QAContact: gstreamer-maint at bugzilla.gnome.org
The default value of the "fragment" parameter in osssink is 6. This means that
the fragment size is 2^6 = 64. On two of my machines, whenever there is a
moderate amount of I/O activity, osssink produces lots of static in addition to
the proper output. Changing the "fragment" value to 8 (a fragment size of 256
bytes) solves the problem.
According to the 4front documentation for OSS at
http://www.4front-tech.com/pguide/audio2.html:
"With relatively short fragments this may cause whining sound which is very
difficult to identify. Using fragment sizes shorter than 256 bytes is not
recommended as the default mode of application. Short fragments should only be
used when explicitly requested by user."
So I would suggest changing the default value of "fragment" from 6 to 8.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
More information about the Gstreamer-bugs
mailing list