ALSA Compress Offload support
Qais Yousef
qais.yousef at imgtec.com
Fri Jan 9 01:28:05 PST 2015
On 01/09/2015 09:12 AM, Sebastian Dröge wrote:
> 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.
OK that's awesome! I'll try it out.
Thanks!
Qais
More information about the gstreamer-devel
mailing list