[Bug 748289] New: GstAudioSink: "delay" virt-func mixes up samples and frames

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 22 03:12:51 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748289

            Bug ID: 748289
           Summary: GstAudioSink: "delay" virt-func mixes up samples and
                    frames
    Classification: Platform
           Product: GStreamer
           Version: 1.4.5
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: djcb at djcbsoftware.nl
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Looking at GstAudioSinkClass, the 'delay' virtual function is documented as:

"Return how many samples are still in the device. This is used to drive the
synchronisation."

However, discussion on #gstreamer revealed that actually, it needs the number
of _frames_, not samples. 

Seems that at least gstsunosxsink.c, oss4-sink.c and gstdirectsoundsink.c
follow the documentation and return the number of samples; alsa-sink returns
the number of frames.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list