All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.co.uk>
To: Assaf Hoffman <hoffman@marvell.com>
Cc: Rita Shtern <rita@marvell.com>, alsa-devel@lists.sourceforge.net
Subject: Re: ALSA snd_xferi_t buffer arrangment
Date: Wed, 11 Oct 2006 14:53:30 +0100	[thread overview]
Message-ID: <452CF75A.5060706@superbug.co.uk> (raw)
In-Reply-To: <B9FFC3F97441D04093A504CEA31B7C41E4DFE5@msilexch01.marvell.com>

Assaf Hoffman wrote:
> Hi,
> 
> I'm mew to sound and ALSA.
> 
> My project deals with PCM in standard (I2S) mode and IEC958 (SPDIF)
> mode. 
> 
> Can anyone tell me how the ALSA stack expects to "see" the data received
> form the sound device? I mean, what is the format of the data DMA'ed
> from the sound device to DRAM that the ALSA stack expects? 
> 
> Is this raw sound data? SPDIF frame includes non sound data as well.
> Does the sound card HW strip the sound payload from the IEC958 frame to
> deliver the raw sound data to the ALSA buffer? 
> 
> Please shed some light...
> 
> Many thanks. 
> 
>  

ALSA can deal with all the different formats that the sound device might
deliver. The low level sound driver simply tells the upper layers what
formats are available. ALSA then handles those formats and all format
conversion required to reach the user space application.
It depends what your device does as to which format ALSA will see.

James





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-10-11 13:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 13:07 ALSA snd_xferi_t buffer arrangment Assaf Hoffman
2006-10-11 13:53 ` James Courtier-Dutton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-11 14:08 Assaf Hoffman
2006-10-11 14:22 ` James Courtier-Dutton
2006-10-11 14:52 Assaf Hoffman
2006-10-11 15:00 ` James Courtier-Dutton
2006-10-11 15:17   ` Takashi Iwai
2006-10-11 15:19     ` James Courtier-Dutton
2006-10-11 15:22       ` Takashi Iwai
2006-10-11 15:40 Assaf Hoffman
2006-10-18  6:31 Assaf Hoffman

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=452CF75A.5060706@superbug.co.uk \
    --to=james@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=hoffman@marvell.com \
    --cc=rita@marvell.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.