RE: Several capture devices in parallel

"HAAS Christian" <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Hello Dan, thank you for your reply;


From: [email protected]
[mailto:[email protected]] 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@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

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.