Skip to content
Snippets Groups Projects
Commit 45ff2941 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1962] Fix opening source with stored device

parent 6c249145
No related branches found
No related tags found
No related merge requests found
......@@ -496,8 +496,8 @@ bool PulseLayer::createStreams (pa_context* c)
recordParam->mainloop = m;
record = new AudioStream (recordParam, _audioSampleRate);
if(inSinkList(recordDevice)) {
record->connectStream(NULL);
if(inSourceList(recordDevice)) {
record->connectStream(&recordDevice);
}
else {
record->connectStream(NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment