Re: [pulseaudio-discuss] How does pulseaudio find the new default sink/source when current one is unlinked?

2011-09-20 Thread Colin Guthrie
'Twas brillig, and Lin, Mengdong at 20/09/11 12:51 did gyre and gimble:
 When current default sink/source is removed, how can pulseaudio decide a
 new default sink/source if there are other devices available?
 
 Could anyone direct me to that part of code?

It's generally not worth looking at as there isn't really anything useful.

The default is only the fallback anyway and the way it works is very
limited.

Depending on how you manage things, the default device has little to no
effect anyway. e.g. if you use module-device-manager with do_routing=1,
the default device will really do nothing at all.

See the blog post I pointed to my reply on the other thread.

Also, the code really isn't that hard to read through for this kind of
thing. Asking questions is cool, but asking people to search through the
code for you is probably a step too far... use grep and search the code
for yourself and you'll get a better general understanding as a result.
You can then ask more focused and targeted questions here on the list! :D

Col




-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] How does pulseaudio find the new default sink/source when current one is unlinked?

2011-09-20 Thread Lu Guanqun
On Tue, Sep 20, 2011 at 08:32:39PM +0800, Colin Guthrie wrote:
[...]
 See the blog post I pointed to my reply on the other thread.

Hi Col,

This might not be related to this thread, but can I request you to
change the behaviour of this mailing list a bit? Generally what this
mailing list does is to reply to the list directly without the replier
been CC-ed. However, in this way, if they don't check this mailing list
regularly, they might miss some mails. Is it possible to change it to
default Cc the person?

-- 
guanqun
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss