more fixes

This commit is contained in:
Ryzerth
2020-12-04 20:12:36 +01:00
parent 9805e4a395
commit 92b77904f6
11 changed files with 52 additions and 26 deletions

View File

@ -99,7 +99,6 @@ int sdrpp_main() {
if (window == NULL)
return 1;
glfwMakeContextCurrent(window);
glfwSwapInterval(1); // Enable vsync
#if (GLFW_VERSION_MAJOR == 3) && (GLFW_VERSION_MINOR >= 3)
if (maximized) {
@ -240,6 +239,7 @@ int sdrpp_main() {
glClear(GL_COLOR_BUFFER_BIT);
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
glfwSwapInterval(1); // Enable vsync
glfwSwapBuffers(window);
}

View File

@ -92,7 +92,7 @@ namespace dsp {
generic_block<AGC>::registerOutput(&out);
}
void setInputSize(stream<float>* in) {
void setInput(stream<float>* in) {
std::lock_guard<std::mutex> lck(generic_block<AGC>::ctrlMtx);
generic_block<AGC>::tempStop();
generic_block<AGC>::unregisterInput(_in);

View File

@ -62,6 +62,8 @@
#if !defined(DUK_CONFIG_H_INCLUDED)
#define DUK_CONFIG_H_INCLUDED
#define DUK_USE_DATE_NOW_WINDOWS
/*
* Intermediate helper defines
*/

View File

@ -127,6 +127,7 @@ void windowInit() {
// Add squelsh
// CW and RAW modes;
// Bring VFO to a visible place when changing sample rate if it's smaller
// Use DUK_USE_DATE_NOW_WINDOWS for windows 7 support
// TODO for 0.2.6
// And a module add/remove/change order menu