[Openal] Several capture devices in parallel

Daniel PEACOCK dpeacock at creativelabs.com
Fri Jan 22 05:52:12 PST 2010





Hi Christian,

There are currently no plans to update wrap_oal.dll to support multiple
capture devices.  OpenAL-Soft could be an option though.

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 at f                                             
             requentis.com>                                             To 
             Sent by:                  <openal at opensource.creative.com>    
             openal-bounces at op                                          cc 
             ensource.creative                                             
             .com                                                  Subject 
                                       RE: [Openal] Several capture        
                                       devices in parallel                 
             01/22/2010 10:26                                              
             AM                                                            
                                                                           
                                                                           
                                                                           
                                                                           




Hello Dan, thank you for your reply;


From: openal-bounces at opensource.creative.com
[mailto:openal-bounces at opensource.creative.com] On Behalf Of Daniel PEACOCK
> The wrap_oal.dll component only supports one capture device at a time.

Hm, thats bad for me; Seems like I'll have to use an OS specific API
then...
Is support for multiple capture devices in parallel planned, or generally
not
to be expected (in the near future)?


> Subsequent calls to alcCaptureOpenDevice should be returning NULL (are
you
checking for this?)

Yes, I am checking, always a valid pointer; For a test I let my application
trace the pointer value - for my 4 different device names I received the
identical pointer value!
Which at least explains why the four threads were accessing the samples of
the first one subsequently...

The reported names of the capture devices are
AES (1+2) (RME HDSPe AIO)
ADAT (5+6) (RME HDSPe AIO)
ADAT (3+4) (RME HDSPe AIO)
ADAT (1+2) (RME HDSPe AIO)
Analog (1+2) (RME HDSPe AIO)
SPDIF (RME HDSPe AIO)
ADAT (7+8) (RME HDSPe AIO)

I was using all the ADAT ones; For cross checking I also tried the AES
device
next to the ADAT (1+2) and I received the same pointer as well.
Should I also check for an identical return value, or should this not
happen?


Either way, without several devices working I wont be able to use OpenAL...

Kind regards,
ch




             "HAAS Christian"
             <Christian.Haas at f
             requentis.com>                                             To
             Sent by:                  <openal at opensource.creative.com>
             openal-bounces at 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    christian.haas at frequentis.com





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
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT0007928E

_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT0007929E



More information about the Openal mailing list