Skip to contentSkip to conversation

non-interleaved and interleaved access

DISCUSSION nick 3 participants 3 messages Dec 9, 2002 – Dec 10, 2002

lore
Share & tools
lore

nick

author
#0 lore raw

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

#1 lore raw
Quoted 1 line · nick

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

#2 lore raw
Quoted 8 lines · Tim Goetze
Quoted 1 line · nick

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....

Signature · 24 lines
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: [email protected]    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