On Tue, Nov 06, 2007 at 05:08:17AM +0900, Edwin Van leeuwen wrote: > Thanks, it worked when I changed it to: > > VALUE obj = (VALUE) klass; Oops, typo. :) > Yes, I am already using the unref function for the context itself. I am > not sure if that also unregisters the callback. I guess I should be > testing that later. That's the behavior I would expect, but I've never used pulseaudio. Paul