fix(pulseaudio): get default sink on new events when using default
This commit is contained in:
parent
224ffa97c1
commit
5f88cd44c7
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ int pulseaudio::process_events() {
|
|||
if (!spec_s_name.empty()) {
|
||||
o = pa_context_get_sink_info_by_name(m_context, spec_s_name.c_str(), sink_info_callback, this);
|
||||
wait_loop(o, m_mainloop);
|
||||
}
|
||||
break;
|
||||
}
|
||||
// get default sink
|
||||
case evtype::REMOVE:
|
||||
o = pa_context_get_server_info(m_context, get_default_sink_callback, this);
|
||||
|
|
Loading…
Reference in a new issue