Re: Latest Snapshot & PulseAudio Capture
Tom Porter <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Chris, I did as you suggested and put in AL_PRINTs in various places. I'm not at all familiar with the audio APIs for Pulse, but the parameters look correct in pulse_open_capture. Most notable is that pulse_available_samples are zero until I open the Volume Control app. At that time pulse_available_samples becomes non-zero and pulse_capture_samples is called. When the Volume Control app isn't open, pulse_available_samples will occasionally go non-zero a couple of timea and I can hear 'bursts' of captured audio, but it quickly returns to producing zero available samples. Tom Porter [email protected] On Dec 30, 2009, at 3:52 PM, Chris Robinson wrote: > On Wednesday 30 December 2009 11:41:53 am Tom Porter wrote: >> Hi Chris, >> >> I just pulled and built the latest OpenAL Soft source. I can't seem >> to get capture to function with Second Life in Linux. I did >> discover, >> quite by accident, that while running Second Life and opening Gnome's >> Volume Control app, capture begins working. I don't see any errors >> in >> any of the logs that I am running for Second Life. I have PulseAudio >> 0.9.21 and kernel 2.6.31.9. Is there anything I can provide to help >> diagnose this issue? > > Hi. > > It'll probably be helpful to add AL_PRINT statements in > pulse_open_capture to > print out the parameters, in pulse_available_samples print out the > number of > samples being reported, and pulse_start_capture, pulse_stop_capture, > and > pulse_capture_samples to see if they're ever called. Then you can > filter the > output on lines that have "AL lib" to see what's going on. > > The capture sample program in Creative's SDK seems to work using > PulseAudio > 0.9.21 for me, so the only thing I can think of that may be wrong is > it's > using values that don't work well with Pulse (and yes, Pulse's > capture code > was changed recently, to allow reading directly from Pulse's buffers > as much > as possible for fewer intermediary steps). > _______________________________________________ > Openal mailing list > [email protected] > http://opensource.creative.com/mailman/listinfo/openal _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal