All of lore.kernel.org
 help / color / mirror / Atom feed
* non-interleaved and interleaved access
@ 2002-12-09 21:08 nick
  2002-12-09 22:02 ` Tim Goetze
  0 siblings, 1 reply; 3+ messages in thread
From: nick @ 2002-12-09 21:08 UTC (permalink / raw)
  To: alsa-devel

Hi

I'd be grateful if someone could clarify the use of
SND_PCM_ACCESS_RW_NONINTERLEAVED and SND_PCM_ACCESS_RW_INTERLEAVED -
does it depend on the card whether its supported? i can't get
non-interleaved access to work on either my emu10k1 or intel8x0
(motherboard) card...

is this because of the cards or my code?

cheers

-nixx

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: non-interleaved and interleaved access
  2002-12-09 21:08 non-interleaved and interleaved access nick
@ 2002-12-09 22:02 ` Tim Goetze
  2002-12-10  0:29   ` Bruce Paterson
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Goetze @ 2002-12-09 22:02 UTC (permalink / raw)
  To: nick; +Cc: alsa-devel

nick wrote:

>is this because of the cards or my code?

it's the hardware -- all hw i know of is hard-wired for one
of the two access types. interleaved is much more common.

tim



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: non-interleaved and interleaved access
  2002-12-09 22:02 ` Tim Goetze
@ 2002-12-10  0:29   ` Bruce Paterson
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Paterson @ 2002-12-10  0:29 UTC (permalink / raw)
  To: Tim Goetze; +Cc: nick, alsa-devel

Tim Goetze wrote:
> nick wrote:
> 
> 
>>is this because of the cards or my code?
> 
> 
> it's the hardware -- all hw i know of is hard-wired for one
> of the two access types. interleaved is much more common.

I'll try and reply to this based on my experience, but I'm sure others 
can correct me !
Yes interleaved is more common on the hardware, and if you talk directly 
to the hw:0.0 interface this is all you can use.
If you use the plughw:0.0 interface, however, you can use interleaved or 
non-interleaved as the plug code modifies whatever you set to suit the 
hardware (including sizing and bit-rates).
I couldn't get the plughw interface to do this for ice1712, however (it 
simply didn't work), but this was with quite an early release of 0.9 
(rc2) and things may well have improved by now. Since then my 
application chnaged to use hw:0.0 directly so I haven't gone back to 
check....


-- 
Cheers,
Bruce
-------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager.

     /\\\/\\\/\\\    /   /      Bruce Paterson
    /  \\\ \\\ \\\  /   /    Senior Design Engineer
   /   /\\\/\\\/\\\/   /   87 Peters Ave, Mulgrave, Vic, 3170
  /   /  \\\ \\\ \\\  /  PO Box 4112, Mulgrave, Vic, 3170, Australia
/   /    \\\/\\\ \\\/   Ph: +61 3 8561 4232   Fax: +61 3 9560 9055
       Tele-IP Ltd.      Email: bruce@tele-ip.com    Icq: #32015991
                         WWW:   http://www.tele-ip.com       VK3TJN
-------------------------------------------------------------------




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-12-10  0:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 21:08 non-interleaved and interleaved access nick
2002-12-09 22:02 ` Tim Goetze
2002-12-10  0:29   ` Bruce Paterson

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.