Re: Multi-channel receive
Brought to you by:
aeb,
bencollins
From: Chris Wj <chr...@gm...> - 2012-03-29 19:17:56
|
On Thu, Mar 29, 2012 at 2:36 PM, Clemens Ladisch <cl...@la...> wrote: > Chris Wj wrote: > > I am trying to figure out the best way to perform a multi-channel > > receive using the raw interface. > > Please note that the controller has a special mode to receive the > packets of multiple channels into one buffer, called multi-channel > reception. And the interface of the _old_ stack is called raw1394. > (The new stack's API doesn't have its own name; just call it Juju. :-) > > > Basically, I want to listen and read from 2 channels (0 and 1) and > > process their data separately. Can I set up 2 threads with 2 distinct > > handles to read from the same device but different channels? > > Yes. (The API does not require multiple threads.) > > > Regards, > Clemens > Clemens, thanks for the response. I very much appreciate it. So it seems like in my case, I will not want to use the multi-channel reception as I am expecting 2 distinct sets of data from the different channels even though it is from the same device, correct? If this is the case, can I use libraw1394? I noticed that the libraw1394 code does not implement multi-channel reception yet. This caused me to believe that I may not be able to use it for my use case. -Chris |