All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] AXD Audio Processing IP ALSA support - Questions
@ 2014-11-04  9:48 Qais Yousef
  2014-11-04  9:58 ` Clemens Ladisch
  2014-11-04 10:40 ` Vinod Koul
  0 siblings, 2 replies; 10+ messages in thread
From: Qais Yousef @ 2014-11-04  9:48 UTC (permalink / raw)
  To: alsa-devel; +Cc: Vinod Koul, Neil Jones, Lars-Peter Clausen, Clemens Ladisch

Hi,

I have several questions on the best way to add AXD support in ALSA.

The discussion of the previous patch can be found here:

https://lkml.org/lkml/2014/10/28/465

Questions:

1- What is the best example to follow to add a simple mp3 support for 
AXD? The only one I find is in sst-mfld-platform-compress.c in 
sound/soc/intel directory but it's a bit confusing. I think because it's 
sharing code with several other sst drivers/platforms.

I find the documentation for compress_offload generally lacking. Is 
there a plan to improve on that? Being a new comer to ALSA framework 
api, I'm confused what is the correct way to do things :-/

So far I know I need to call snd_soc_register_card(). I thought 
snd_compress_register() (from compress_driver.h) is how you add 
compressed nodes to the card but apparently not. It looks like I need to 
define a compress_dai? Hmmm.

2- Is tinycompress the only userland support for compress_offload? Is 
there anyone working on gstreamer and omx plugins to support that?

Would tinycompress be part of alsa-utils and alsa-libs in the future? I 
know it needs more work at the moment but it'd be nice if 
compress_offload support is part of the standard alsa-utils and alsa-libs.

3- Can we get an example of how transcoding (back to disk) is supposed 
to be working?

4- How can we reconfigure complex audio effect components (like shelving 
filters) which need filter co-effecient changes to be applied all at 
once atomically to avoid instability?

My plan is to add mp3 driver first then build on that to add the rest of 
the features. Hopefully I can minimise the amount of work that needs 
doing (due to me doing it wrongly) and get features upstream sooner.

Thanks,
Qais

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-11-05  8:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04  9:48 [RFC] AXD Audio Processing IP ALSA support - Questions Qais Yousef
2014-11-04  9:58 ` Clemens Ladisch
2014-11-04 10:40   ` Vinod Koul
2014-11-04 10:40 ` Vinod Koul
2014-11-04 12:04   ` Qais Yousef
2014-11-04 16:14     ` Pierre-Louis Bossart
2014-11-04 17:41       ` Mark Brown
2014-11-05  8:24       ` Qais Yousef
2014-11-05  8:38     ` Vinod Koul
2014-11-05  8:56       ` Qais Yousef

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.