mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-24 18:08:27 +01:00
more fixes
This commit is contained in:
parent
f97ca9ac05
commit
d069fb3af8
@ -135,7 +135,8 @@ public:
|
||||
|
||||
// Configure the wav writer
|
||||
if (recMode == RECORDER_MODE_AUDIO) {
|
||||
samplerate = sigpath::sinkManager.getStreamSampleRate("Radio");
|
||||
if (selectedStreamName.empty()) { return; }
|
||||
samplerate = sigpath::sinkManager.getStreamSampleRate(selectedStreamName);
|
||||
}
|
||||
else {
|
||||
samplerate = sigpath::iqFrontEnd.getSampleRate();
|
||||
@ -155,6 +156,7 @@ public:
|
||||
|
||||
// Open audio stream or baseband
|
||||
if (recMode == RECORDER_MODE_AUDIO) {
|
||||
// TODO: Select the stereo to mono converter if needed
|
||||
stereoStream = sigpath::sinkManager.bindStream(selectedStreamName);
|
||||
stereoSink.setInput(stereoStream);
|
||||
stereoSink.start();
|
||||
|
Loading…
Reference in New Issue
Block a user