ALSA Compress Offload support

Sebastian Dröge sebastian at centricular.com
Fri Jan 9 01:12:36 PST 2015


On Fr, 2015-01-09 at 09:04 +0000, Qais Yousef wrote:
> On 01/09/2015 08:46 AM, Sebastian Dröge wrote:
> > On Do, 2015-01-08 at 11:38 +0000, Qais Yousef wrote:
> >> Hi,
> >>
> >> I tried to google for any discussion about support for ALSA compress
> >> offload but I didn't find any.
> >>
> >> Did anyone consider it before? Any direction on the correct way to get
> >> this done?
> > What do you mean with compress offload? Passthrough of compressed audio
> > in alsasink, e.g. via SPDIF? That is already supported and you can just
> > pass compressed audio to alsasink if your driver supports that.
> >
> 
> I meant ALSA compress offload feature where hardware can decode the 
> audio ie: it accepts compressed streams not just PCM.
> 
> See:
> 
> https://www.kernel.org/doc/Documentation/sound/alsa/compress_offload.txt
> 
> Is this already supported in GStreamer? Looking at the tip of 
> gst-plugin-base alsasink only accepts raw audio. Am I missing something?

Search for "MPEG" in
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/ext/alsa/gstalsasink.c

At the sink pad template all the compressed formats that are supported
are in the PASSTHROUGH_CAPS #define.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150109/33f591e4/attachment-0001.sig>


More information about the gstreamer-devel mailing list