[pulseaudio-discuss] Adding PulseAudio Capture to OpenAL

Mike Dickson mike.dickson at rivendellnh.com
Fri Nov 13 10:55:07 PST 2009


On Fri, 2009-11-13 at 15:37 +0000, Colin Guthrie wrote: 
> 'Twas brillig, and Mike Dickson at 13/11/09 14:21 did gyre and gimble:
> > Hmm, ok, very interesting...
> > 
> > The test code I have (and probably the Vivox SLVoice client which is the
> > real goal) opens an output stream first and then tries to open the
> > capture device. It looks like it initializes a "mainloop" for both
> > streams.  Is that correct behavior or a problem?  I'll do some debugging
> > around this and see if I can't ferret out a problem.
> 
> There should only really be one mainloop for a given PA context. If they 
> start two contexts (which means two connections to PA then there would 
> probably need to be two mainloops. I'm not really sure tho' as I don't 
> really know how the integration works.

Ok, I think this is roughly where the problem is.  If I open the capture
device only it appears to succeed.  Opening a playback channels fails if
the order is reversed (hanging in the same manner).  So there's some
interaction here between the 2 channels.  I'll do some more debugging
and come back with questions when I have them.  Thanks so much for the
help!

Mike

> Col
> 





More information about the pulseaudio-discuss mailing list