All of lore.kernel.org
 help / color / mirror / Atom feed
* Full duplex mode
@ 2006-04-08  2:32 Carlos Munoz
  2006-04-08 14:16 ` Paul Davis
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Munoz @ 2006-04-08  2:32 UTC (permalink / raw)
  To: alsa-devel

Hi all,

An alsa driver I've written supports full duplex mode (playback and 
capture simultaneously). Do I need to anything special to support full 
duplex mode ? I assume the playback_open(), etc and capture_open(), etc 
will both get called and from the driver point of view I'm just handling 
two streams, right ?

Thanks,


Carlos


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Full duplex mode
  2006-04-08  2:32 Full duplex mode Carlos Munoz
@ 2006-04-08 14:16 ` Paul Davis
  2006-04-08 15:15   ` Jaroslav Kysela
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Davis @ 2006-04-08 14:16 UTC (permalink / raw)
  To: Carlos Munoz; +Cc: alsa-devel

On Fri, 2006-04-07 at 19:32 -0700, Carlos Munoz wrote:
> Hi all,
> 
> An alsa driver I've written supports full duplex mode (playback and 
> capture simultaneously). Do I need to anything special to support full 
> duplex mode ? I assume the playback_open(), etc and capture_open(), etc 
> will both get called and from the driver point of view I'm just handling 
> two streams, right ?

more or less correct. it depends on how you intend to manage
synchronization between the two streams within your application.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Full duplex mode
  2006-04-08 14:16 ` Paul Davis
@ 2006-04-08 15:15   ` Jaroslav Kysela
  0 siblings, 0 replies; 3+ messages in thread
From: Jaroslav Kysela @ 2006-04-08 15:15 UTC (permalink / raw)
  To: Paul Davis; +Cc: Carlos Munoz, alsa-devel

On Sat, 8 Apr 2006, Paul Davis wrote:

> On Fri, 2006-04-07 at 19:32 -0700, Carlos Munoz wrote:
> > Hi all,
> > 
> > An alsa driver I've written supports full duplex mode (playback and 
> > capture simultaneously). Do I need to anything special to support full 
> > duplex mode ? I assume the playback_open(), etc and capture_open(), etc 
> > will both get called and from the driver point of view I'm just handling 
> > two streams, right ?
> 
> more or less correct. it depends on how you intend to manage
> synchronization between the two streams within your application.

Note that you can support sample accurate start for both streams (linked 
streams). See pci/ice1712/ice1712.c - snd_ice1712_pro_trigger() for 
example.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-08 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-08  2:32 Full duplex mode Carlos Munoz
2006-04-08 14:16 ` Paul Davis
2006-04-08 15:15   ` Jaroslav Kysela

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.