potential fix to audio issues

pull/40/head
Ryzerth 2020-12-06 16:46:50 +01:00
rodzic f4f8c77ffa
commit a6a4193fbb
5 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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

Wyświetl plik

@ -123,6 +123,7 @@ private:
currentDemod->setAudioSampleRate(audioSampRate);
stream.setInput(currentDemod->getOutput());
currentDemod->select();
vfo->output->flush();
currentDemod->start();
}

Wyświetl plik

@ -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,

Wyświetl plik

@ -32,7 +32,7 @@
"LNA": 23.415000915527344,
"VGA": 16.332000732421875
},
"sampleRate": 2000000.0
"sampleRate": 8000000.0
},
"Microphone (Realtek High Definition Audio)": {
"sampleRate": 96000.0