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