[Bug 782695] New: Float PCM playback not supported by alsasink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 16 14:41:45 UTC 2017


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

            Bug ID: 782695
           Summary: Float PCM playback not supported by alsasink
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: Vijay.Palaniswamy at in.bosch.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 351975
  --> https://bugzilla.gnome.org/attachment.cgi?id=351975&action=edit
Patch for adding float pcm playback support

Issue:
alsasink not supporting FLOAT pcm playback.

Root Cause:
In gst-plugins-base-1.8.3/ext/alsa/gstalsa.c function "gst_alsa_get_pcm_format"
 switch case not added for FLOAT 32/64 pcm.

By adding the switch I am able to play the float PCM files.

Steps to verify:
With the fix audioconvert is required.
gst-launch filesrc location=<ogg file> ! decodebin ! audioconvert ! alsaink
With fix audioconvert not required.
gst-launch filesrc location=<ogg file> ! decodebin ! alsaink

I have attached the fix as patch.

I have verified the patch for FLOAT 32LE/64LE formats

Thank you

-- 
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