Re: Several capture devices in parallel
Daniel PEACOCK <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <OF9F1CC249.76594FE6-ON802576B3.0035EE99-802576B3.00362089@cli.creaf.com> |
Hi Christian,
The wrap_oal.dll component only supports one capture device at a time.
Subsequent calls to alcCaptureOpenDevice should be returning NULL (are you
checking for this?)
You are right that there is no need for a context when using a capture
device.
Dan
Creative Labs (UK) Ltd.
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
Creative Labs UK Ltd company number 2658256 registered in England and Wales
at 79 Knightsbridge, London SW1X 7RB
"HAAS Christian"
<Christian.Haas@f
requentis.com> To
Sent by: <[email protected]>
openal-bounces@op cc
ensource.creative
.com Subject
[Openal] Several capture devices in
parallel
01/22/2010 09:05
AM
Hello!
I want to run an application that captures samples from several devices in
parallel.
The specification says that capturing runs beyond the concept of (playback)
contexts and it appears that capturing has no concept of context at all;
Although I can open several capture devices in parallel, any further
capture function only returns results from the first device opened – the
device parameter appears to be ignored. It so happened that for example my
second device provided audio available only on the first one.
alcCreateContext() returns NULL for those devices, so the only 'context'
available is the device, which is ignored.
The devices are accessed in dedicated threads each – sample capture is
currently separated by a mutex, as the results were even weirder without
(one thread snatched the samples from the first, while the first expected
them and so forth)
Is it meant to be possible to have several capture devices running? If so,
what am I missing?
System:
OS: Windows 2008 Server 64bit
Interface: RME AIO, newest WDM Driver (3.08.2)
OpenAL: OpenAL32.dll Ver.6.14.357.24, wrap_oal.dll Ver.2.2.0.5
(I'm trying to capture the 4 pairs of ADAT channels, which are stereo
capture devices each)
Thanks,
ch
____________________________________________________
Christian Haas
Team DIVOS, Software Engineer
FREQUENTIS AG
Innovationsstraße 1, 1100 Vienna, Austria
Phone +43-1-811 50 – 8353
Mobile +43-664-60 850 – 8353
Fax +43-1-811 50 – 77 8353
Web www.frequentis.com
E-Mail [email protected]
Handelsgericht Wien (Vienna Commercial Court): FN 72115 b
DVR 0364797, ATU 14715600
____________________________________________________
Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT0007928E
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal