kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
potential fix to audio issues
rodzic
f4f8c77ffa
commit
a6a4193fbb
|
@ -142,7 +142,7 @@ private:
|
|||
PaError err;
|
||||
|
||||
float sampleRate = dev->sampleRates[dev->srId];
|
||||
int bufferSize = sampleRate / 60.0f;
|
||||
int bufferSize = sampleRate / 200.0f;
|
||||
|
||||
if (dev->channels == 2) {
|
||||
stereoRB.data.setMaxLatency(bufferSize * 2);
|
||||
|
|
|
@ -125,7 +125,6 @@ void windowInit() {
|
|||
// Add "select folder" option for the file source
|
||||
// Fix SSB demod
|
||||
// FIX AUDIO ISSUE ON BOTH LINUX AND SOMETIMES WINDOWS (probly the ring buffer, though double buffering could help)
|
||||
// Add CW mode to radio module
|
||||
// Add default main config to avoid having to ship one
|
||||
// Have a good directory system on both linux and windows
|
||||
// Switch to double buffering
|
||||
|
|
|
@ -123,6 +123,7 @@ private:
|
|||
currentDemod->setAudioSampleRate(audioSampRate);
|
||||
stream.setInput(currentDemod->getOutput());
|
||||
currentDemod->select();
|
||||
vfo->output->flush();
|
||||
currentDemod->start();
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"bandPlan": "General",
|
||||
"bandPlanEnabled": true,
|
||||
"fftHeight": 296,
|
||||
"frequency": 98930000,
|
||||
"frequency": 98672900,
|
||||
"max": 0.0,
|
||||
"maximized": false,
|
||||
"menuOrder": [
|
||||
|
@ -42,7 +42,7 @@
|
|||
"Radio": {
|
||||
"muted": false,
|
||||
"sink": "Audio",
|
||||
"volume": 0.4183673560619354
|
||||
"volume": 0.6858407258987427
|
||||
},
|
||||
"Radio 1": {
|
||||
"muted": true,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"LNA": 23.415000915527344,
|
||||
"VGA": 16.332000732421875
|
||||
},
|
||||
"sampleRate": 2000000.0
|
||||
"sampleRate": 8000000.0
|
||||
},
|
||||
"Microphone (Realtek High Definition Audio)": {
|
||||
"sampleRate": 96000.0
|
||||
|
|
Ładowanie…
Reference in New Issue