All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: jassi brar <jassisinghbrar@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: New Audio Driver Design
Date: Wed, 15 Jul 2009 22:22:08 +0200	[thread overview]
Message-ID: <20090715202208.GA13236@buzzloop.caiaq.de> (raw)
In-Reply-To: <1b68c6790907132152pbfc1995k3be854627cb77f3e@mail.gmail.com>

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

  reply	other threads:[~2009-07-15 20:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14  4:52 New Audio Driver Design jassi brar
2009-07-15 20:22 ` Daniel Mack [this message]
     [not found]   ` <1b68c6790907151713y21148275t1768dbb5c6761c43@mail.gmail.com>
2009-07-20  6:56     ` Daniel Mack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090715202208.GA13236@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=jassisinghbrar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.