[Bug 779805] alsasink: add SND_PCM_FORMAT_DSD support
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 10 12:28:37 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=779805
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slomo at coaxion.net
--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
The point of the pack/unpack functions in libgstaudio is to have a common
format that every other format can be converted to. These are currently S32
(for all integer formats) and F64 (for all floating point formats) in native
endianness. It's a requirement that these functions exist and do the right
thing for all audio/x-raw formats defined by libgstaudio, so that elements can
have a generic way of handling all kinds of raw audio formats.
So you have 3 options here now
a) define a third common format here for DSD, so that we would have S32, F64
and DSD_U32. And then also add conversion between these 3 formats.
b) have the functions for DSD convert from/to S32 or F64
c) don't use audio/x-raw and don't add these as formats to libgstaudio, but
handle them like any compressed format (call it e.g. audio/x-dsd)
--
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