Commit 46a5276d authored by David Fuhrmann's avatar David Fuhrmann

auhal: do not check for changed streams if selected device is 0

parent b81200fb
......@@ -1490,6 +1490,10 @@ static OSStatus StreamsChangedListener(AudioObjectID inObjectID, UInt32 inNumbe
msg_Dbg(p_aout, "available physical formats for audio device changed");
RebuildDeviceList(p_aout);
/* In this case audio has not yet started. Below code will not work and is not needed here. */
if (p_sys->i_selected_dev == 0)
return 0;
/*
* check if changed stream id belongs to current device
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment