diff --git a/audio_sink/src/main.cpp b/audio_sink/src/main.cpp index 319cb0ac..b986aee2 100644 --- a/audio_sink/src/main.cpp +++ b/audio_sink/src/main.cpp @@ -142,17 +142,17 @@ private: PaError err; float sampleRate = dev->sampleRates[dev->srId]; - int bufferSize = sampleRate / 200.0f; + int bufferSize = sampleRate / 60.0f; if (dev->channels == 2) { stereoRB.data.setMaxLatency(bufferSize * 2); stereoRB.start(); - err = Pa_OpenStream(&stream, NULL, &outputParams, sampleRate, bufferSize, 0, _stereo_cb, this); + err = Pa_OpenStream(&stream, NULL, &outputParams, sampleRate, paFramesPerBufferUnspecified, 0, _stereo_cb, this); } else { monoRB.data.setMaxLatency(bufferSize * 2); monoRB.start(); - err = Pa_OpenStream(&stream, NULL, &outputParams, sampleRate, bufferSize, 0, _mono_cb, this); + err = Pa_OpenStream(&stream, NULL, &outputParams, sampleRate, paFramesPerBufferUnspecified, 0, _mono_cb, this); } if (err != 0) { diff --git a/root_dev/config.json b/root_dev/config.json index 5663b1af..efb91670 100644 --- a/root_dev/config.json +++ b/root_dev/config.json @@ -19,7 +19,7 @@ "bandPlan": "General", "bandPlanEnabled": true, "fftHeight": 296, - "frequency": 98672900, + "frequency": 96400000, "max": 0.0, "maximized": false, "menuOrder": [