Re: [alsa-devel] Compressed Audio Playback/Capture through ALSA framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Mar 2011, Patrick Lai wrote:

On 3/15/2011 1:40 PM, Eliot Blennerhassett wrote:
On 16/03/11 07:31, Patrick Lai wrote:
Hi,

Is there a precedent for playback/capture compressed audio stream
through ALSA playback/capture interface if underlying hardware supports
decoder + sink&  encoder + source capabilities?

No.  (Apart from AC3 passthrough to spdif output)

I presume you are referring to IEC958 format. Are there ASoC drivers
that support IEC958 format already? Why is AC3 passthrough acceptable
but not other compressed audio format?

I agree. AC3, DTS and also MPEG2 formats should work. The PCM parameters for VBR streams are fixed (at least I don't know about any format which changes the rate/bits/channels inside the stream). So we can use IEC958 (
IEC 61937) and for other formats we can create similar extensions.

The only part which we can improve in the ALSA layer may be more better synchronization handling in case of xruns. Because these compressed streams are transferred in blocks, the whole block might be dropped.

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux