[Bug 779805] alsasink: add SND_PCM_FORMAT_DSD support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 13 09:37:07 UTC 2017


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

--- Comment #10 from n-matsumoto at melcoinc.co.jp ---
(In reply to Sebastian Dröge (slomo) from comment #9)
> > No1) Can those convert it.
> > DSD_U8,DSD_U{16,32}_{LE,BE}
> > If I resolve it, May I ask alsa-dev.
> 
> I don't understand your question. You mean if you can convert between these
> formats? Probably. But even then you still need to implement conversion
> from/to PCM (F64 and S32).
I'm sorry. That's right!
I look at MPD implementation...
http://git.musicpd.org/cgit/master/mpd.git/tree/src/pcm/Dsd16.hxx?id=v0.20.6#n31
http://git.musicpd.org/cgit/master/mpd.git/tree/src/pcm/Dsd32.hxx?id=v0.20.6#n31

http://git.musicpd.org/cgit/master/mpd.git/tree/src/pcm/Dsd32.cxx?id=v0.20.6

In Gstreamer case:
Maybe we need DSD_U32. 
(I can't create source code.because I don't understand pack/unpack and native
endianess equivalents enough yet)


> > No2) x-raw is PCM? is it correct?
> > https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/
> > media-types.html
> 
> It's currently only PCM, yes. But as DSD is also raw audio, it would also
> fit in there IMHO.
> 
> > No3) convert is not decode. is it correct?
> > I think that pcm and dsd are not compatible. 
> > so, I think those can't convert.It's mean not convert,but decode.
> > because, I think that I can't select optionB
> 
> PCM and DSD are both (raw) audio formats so (lossy!) conversion between them
> is possible. I wouldn't call any of it decoding/encoding though as they are
> both equivalent formats, none of the two is the "encoded" one.
This is my opinion that your opposite opinion.
because, ffmpeg and mpd have dsd to pcm decoder.
http://git.musicpd.org/cgit/master/mpd.git/tree/src/pcm/dsd2pcm?id=v0.20.6
https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2014-April/076427.html

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