From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Assaf Hoffman <hoffman@marvell.com>
Cc: alsa-devel@lists.sourceforge.net, Rita Shtern <rita@marvell.com>
Subject: Re: [BULK] Re: CMIPCI driver. IEC958 user data and channel status
Date: Wed, 18 Oct 2006 17:34:29 +0200 [thread overview]
Message-ID: <1161185669.16519.273641415@webmail.messagingengine.com> (raw)
In-Reply-To: <B9FFC3F97441D04093A504CEA31B7C41E91858@msilexch01.marvell.com>
Assaf Hoffman wrote:
> 1) According to your experience, is it correct to assume that once a PCM
> instance for playback/capture is prepared and triggered, the user data
> and channel status are constants during data transmit/receive?
Many drivers assume this for playback, i.e., they set these bits once when
the PCM stream is configured.
When capturing, these bits could change at any time, depending on the
source. Most drivers allow to read the current values of these bits.
> 2) In the case HW saves the user data and channel status in its internal
> registers, how would the ALSA stack know if any of them changed?
It wouldn't know at all, unless the hardware can issue an interrupt for
this situation.
There is a flag SNDRV_CTL_ELEM_ACCESS_VOLATILE for controls that can
change their value without notification.
> 3) Is there a bridge application in the ALSA stack? I mean, in case
> I would like to capture ICE958 frames and route them to ICE958 playback
> channel.
It would be possible to write an application that records and then plays
back the data, or to pipe the output of arecord into aplay. ALSA
doesn't have any built-in functionality for that.
HTH
Clemens
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2006-10-18 15:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-17 11:16 [BULK] Re: CMIPCI driver. IEC958 user data and channel status Assaf Hoffman
2006-10-18 11:28 ` Takashi Iwai
2006-10-18 15:34 ` Clemens Ladisch [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-18 11:31 Assaf Hoffman
2006-10-18 11:35 ` Takashi Iwai
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=1161185669.16519.273641415@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--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.