mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
open output device on "subscribeInput" only when not already opened
This commit is contained in:
parent
46b3ba2631
commit
e2966b1457
|
@ -140,7 +140,9 @@ void Audio::subscribeInput()
|
|||
if (!inputSubscriptions++)
|
||||
{
|
||||
openInput(Settings::getInstance().getInDev());
|
||||
openOutput(Settings::getInstance().getOutDev());
|
||||
if (!alOutDev)
|
||||
openOutput(Settings::getInstance().getOutDev());
|
||||
|
||||
|
||||
#if (!FIX_SND_PCM_PREPARE_BUG)
|
||||
if (alInDev)
|
||||
|
|
Loading…
Reference in New Issue
Block a user