[Bug 779805] alsasink: add SND_PCM_FORMAT_DSD support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 10 08:59:01 UTC 2017


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

--- Comment #6 from n-matsumoto at melcoinc.co.jp ---
Thank you for your review.

> Is this really DSD silence? Or just some number?
Yes.SILENT_DSD is same mean SILENT_0. so, Mute of PCM is 0x00. Mute of DSD is
0x69.
It is followed kernel.
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/sound/core/pcm_misc.c#n143
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/sound/usb/endpoint.c#n614

> The pack and unpack functions are all wrong for DSD.
I'm sorry.acutually, I don't understand pack and unpack.

> The alternative would be to consider DSD a different format and not raw audio. Then it would also not have to be added to libgstaudio and we could handle it exactly the same as any compressed format.
Maybe correct.
DSD formats don't have compatibilty PCM formats.
It's completely different PCM formats.
and
I understand and confirm only DSD_U32_BE.
so, I don't know that DSD can convert to other formats(e.g, DSD_U8 to
DSD_U32_BE, DSD_U16_LE to DSD_U32_BE).

but.. I'ms sorry. I can't understand howto change code :-(
Could you please tell me that how do I change it?
I wrote FIXME at patch v2.

> This is breaking ABI
Oops! It's very important.

Have a nice weekend.

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