This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: BSD-2-Clause | |
// This code is part of the sfizz library and is licensed under a BSD 2-clause | |
// license. You should have receive a LICENSE.md file along with the code. | |
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz | |
#pragma once | |
#include <elements.hpp> | |
#include <infra/support.hpp> | |
namespace el = cycfi::elements; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix atom: <http://lv2plug.in/ns/ext/atom#> . | |
@prefix bufsize: <http://lv2plug.in/ns/ext/buf-size#> . | |
@prefix doap: <http://usefulinc.com/ns/doap#> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix lv2: <http://lv2plug.in/ns/lv2core#> . | |
@prefix midi: <http://lv2plug.in/ns/ext/midi#> . | |
@prefix opts: <http://lv2plug.in/ns/ext/options#> . | |
@prefix param: <http://lv2plug.in/ns/ext/parameters#> . | |
@prefix patch: <http://lv2plug.in/ns/ext/patch#> . | |
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/src/view.cpp b/lib/src/view.cpp | |
index 1443bfa..da77160 100644 | |
--- a/lib/src/view.cpp | |
+++ b/lib/src/view.cpp | |
@@ -67,13 +67,6 @@ | |
_dirty = dirty_; | |
- // Update the limits and constrain the window size to the limits | |
- if (set_limits()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c | |
index 0112c4e..b70715b 100644 | |
--- a/pugl/detail/x11_cairo.c | |
+++ b/pugl/detail/x11_cairo.c | |
@@ -52,21 +52,35 @@ puglX11CairoOpen(PuglView* view) | |
{ | |
PuglInternals* const impl = view->impl; | |
PuglX11CairoSurface* const surface = (PuglX11CairoSurface*)impl->surface; | |
+ int width = (int)view->frame.width; | |
+ int height = (int)view->frame.height; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Compile: g++ -O2 -g -o riemann riemann.cpp | |
Run: ./riemann 1.1 | tee riemann.dat | |
(try values between 1 and 2) | |
Gnuplot: plot "riemann.dat" u 1:2 w lines | |
*/ | |
#include <complex> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- mode: c++; -*- */ | |
#include "absl/strings/string_view.h" | |
#include "absl/strings/str_cat.h" | |
#include <string> | |
#include <cstdint> | |
enum OpcodeFixScope { | |
kOpcodeFixGeneric, | |
kOpcodeFixRegion, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: jujudusud <jujudusud gmail com> | |
pkgname=freemajor | |
_pkgname=FreeMajor | |
pkgver=1.0 | |
pkgrel=1 | |
pkgdesc="TC Electronic G-Major editor" | |
arch=('x86_64') | |
url='https://github.com/linuxmao-org/FreeMajor/' | |
license=('Boost') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp | |
index 0870905f..6135ae9a 100644 | |
--- a/src/sfizz/Synth.cpp | |
+++ b/src/sfizz/Synth.cpp | |
@@ -901,6 +901,9 @@ std::string sfz::Synth::exportMidnam(absl::string_view model) const | |
/// | |
string_writer writer; | |
doc.save(writer); | |
+fprintf(stderr, "===== MIDNAM export\n"); | |
+fprintf(stderr, "%s\n", writer.result.c_str()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright Jean Pierre Cimalando 2018-2020. | |
// Distributed under the Boost Software License, Version 1.0. | |
// (See accompanying file LICENSE or copy at | |
// http://www.boost.org/LICENSE_1_0.txt) | |
#include "RTSemaphore.h" | |
#include <limits.h> | |
#include <stdexcept> | |
#include <cerrno> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cmake/SfizzConfig.cmake b/cmake/SfizzConfig.cmake | |
index bbf9f43e..77415fdf 100644 | |
--- a/cmake/SfizzConfig.cmake | |
+++ b/cmake/SfizzConfig.cmake | |
@@ -32,7 +32,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") | |
add_compile_options(-Wextra) | |
add_compile_options(-ffast-math) | |
add_compile_options(-fno-omit-frame-pointer) # For debugging purposes | |
- if (SFIZZ_SYSTEM_PROCESSOR MATCHES "^i.86$") | |
+ if (SFIZZ_SYSTEM_PROCESSOR MATCHES "^(i.86|x86_64)$") |