Re: basic questions

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

 



On Fri, Mar 14, 2008 at 12:35 AM, Harsha priya gupta
<harshapriya@xxxxxxxxx> wrote:
> Hi,
>
>  I am ramping up on ALSA architecture and framework. I have a couple of basic
>  questions. I apologize if these questions are very basic to be raised in
>  this mailing list. If anyone can help me find answers, it would be great.
>  Thanks in advance.
>
>  1. My assumption is that ALSA handles only PCM streams today. Does it handle
>  encoded streams from application to sound card (Which can do hardware
>  decoding)?
>

Someone else could probably give a better answer, but I believe that
currently ALSA has no API for cards that do HW decoding.

>  2. What are the hwdep files in ALSA used for? Where do the concerned IOCTLS
>  land to?

Anything you want to do that doesn't fit into the ALSA framework.
Typically they're used for things like programming the card's DSP
engine.  I've also used them for testing/QA in embedded development,
using hwdep ioctls to provide an alternate playback path, so that any
issues can quickly be determined to be an ALSA issue, or a problem
with the way we were programming the HW.

See the emu10k1 driver for a good example of hwdep ioctl usage.  It's
used for things like loading DSP patches.

Lee
_______________________________________________
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