Re: New Audio Driver Design

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

 



On Tue, Jul 14, 2009 at 01:52:12PM +0900, jassi brar wrote:
>   I am to write an ALSA driver for my SOC which has a dedicated DSP
> subsystem which can
> be loaded with decoder instructions and parameteres, and then we load it
> with encoded data. The dsp then decodes the data and sends it to the PCM
> controller.

Are these decoder instruction something you need to do at runtime? Or
would it suffice to provide them once when the driver is probed?

For the first case, you could use the ALSA control interface, in
particular the SNDRV_CTL_ELEM_BYTES type.

For the latter, you might want to have a look at the firmware framework
and read Documentation/firmware_class/README.

Hope that helps,
Daniel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux