On Thu, Apr 7, 2011 at 7:20 PM, Daniel Mack <zon...@gmail.com> wrote: > On Thu, Apr 7, 2011 at 7:15 PM, patrick <pured...@11h11.com> wrote: >> more informations about our problem: >> >> in thread-mainloop.c >> >> void pa_threaded_mainloop_stop(pa_threaded_mainloop *m) { >> ... >> // freeze here: >> pa_mutex_lock(m->mutex); >> ... >> } >> >> what would be the cause? it stop at pa_mutex_lock(m->mutex). what can i do >> to fix this problem? any advice is more than welcome. > > Are your calling pa_threaded_mainloop_stop() while the mainloop is > locked? IOW, did you call pa_threaded_mainloop_lock() without > pa_threaded_mainloop_unlock() before?
Sorry, I should have read your other email before. Does the parec-simple example work for you (it's part of the PulseAudio source tree). Daniel _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss