Skip to content
Commit 39190d03 authored by Michael Rickmann's avatar Michael Rickmann Committed by Eugen Dedu
Browse files

Make sure the output device is set before a call

Fixes the following bug: The main thread was closing the audioinput
device, while the "Media Patch" thread which pumps the data into the
internet was still active.  Consequently "Media Patch" switched to the
silence device.  This was left in current_device of
audioinput-core.cpp, and it was used for the next call.  Attached
patch also sets internal_set_manager(desired_device); when the stream
is started, i.e. when it is really needed.
parent a283d5da
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