[PATCH 04/25] printout pthread id number in pulseaudio log

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

 



> > Do you think it's better to invoke pa_thread_new("alsa-sink 0", func,
> u)
> > or adding another index after the plain name? (e.g.
> > pa_thread_new("alsa-sink", index, func, u))
> 
> I've not looked at the code, but if we know the sink index by this
> stage
> (I'm not sure we do?) then yes that could be helpful.
> 
> Pierre will probably know if this is practically useful tho'. I suppose
> in most cases testing and probing will be done with only one sink
> anyway
> so there is no doubt which one owns the thread :p

I like the second option better. Ideally the index should match the sink
index to that you can query with pactl which sink is really being used. The
index in itself isn't terribly useful if it depends on the
configuration/profiles.



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

  Powered by Linux