[Bug 779805] New: Add SND_PCM_FORMAT_DSD series to alsasink
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 9 13:56:55 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=779805
Bug ID: 779805
Summary: Add SND_PCM_FORMAT_DSD series to alsasink
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: n-matsumoto at melcoinc.co.jp
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 347558
--> https://bugzilla.gnome.org/attachment.cgi?id=347558&action=edit
adds SND_PCM_FORMAT_DSD series
What's the patch?
===============
The patch just adds SND_PCM_FORMAT_DSD series.
SND_PCM_FORMAT_DSD was defined by alsa-lib v1.0.29.
https://www.alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29
pcm: add new 32-bit DSD sample format
Incidentally, SND_PCM_FORMAT_LAST = SND_PCM_FORMAT_DSD_U32_BE.
It's mean follow pcm_format of alsa-lib.
http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html
Howto native-dsd playback?
====================
Sorry, we can't play dsd on gstreamer now.
because, we don't have dsd decoder elements.
I confirmed combination software stack.
MPD 0.20.2+, alsa-lib v1.0.29+, kernel 3.18+ and supported sound device.
http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.20.2
If you want to more information, Please refer to the URL
https://github.com/lintweaker/xmos-native-dsd
Technical description
=========================
* silence value is 0x69
Refer to Line106
https://www.ffmpeg.org/doxygen/2.4/dsddec_8c_source.html
* alsa-lib define
http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/pcm/pcm.c;h=a16fd86fb3b004ca93bb07b568c4724182d5dd61;hb=ad188bbf7813eab6f42dcdf617aa947107118857#l1800
http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/pcm/pcm.c;h=a16fd86fb3b004ca93bb07b568c4724182d5dd61;hb=ad188bbf7813eab6f42dcdf617aa947107118857#l1862
* other information
UsbAudioClass3.0 define DSD format
2.3.1.6.5 DSD FORMAT
Frmts30.pdf at USB Audio Devices Rev. 3.0 Spec and Adopters Agreement
http://www.usb.org/developers/docs/devclass_docs/
My first send patch to Gstreamer community.
Let me know anything problems.
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