[PATCH 13/13] Remove refcounting from ports, sinks and sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2013-02-12 at 21:37 +0200, Tanu Kaskinen wrote:
> A note about the removed pa_sink_ref() and pa_source_ref() calls in
> module-bluetooth-device: things probably break badly if the SCO sink
> or source is removed while being in the "SCO over PCM" mode, but I
> don't think that mode has ever worked properly if the SCO sink or
> source can disappear at runtime. On the systems that I know are
> using the "SCO over PCM" mode, the SCO devices stay loaded all the
> time. If this seems unacceptable, I can add some code to
> module-bluetooth-device to better track the SCO sink and source
> existence.

The patch has a bug regarding these removed ref() calls: the
corresponding unref() calls aren't removed. I'll send a fixed patch
after waiting some time for more feedback.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux