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
| // g++ `pkg-config --cflags glibmm-2.4 giomm-2.4` gio-example.cc `pkg-config --libs glibmm-2.4 giomm-2.4` -o gio-example | |
| // | |
| #include <cstdio> | |
| #include <glibmm-2.4/glibmm.h> | |
| #include <giomm-2.4/giomm.h> | |
| int main() | |
| { | |
| Gio::init (); |
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
| set_policy("package.sync_requires_to_deps", true) | |
| if is_mode("debug") then | |
| add_requireconfs("**", {configs = {debug = true, shared = true}, system = false, build = true}) | |
| else | |
| add_requireconfs("**", {configs = {shared = true}, system = false, build = true}) | |
| end | |
| add_requires("libcurl") | |
| add_requires("boost") | |
| add_requires("libsndfile") |
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
| # midimap.lv2 - config/map file | |
| midimap v1 | |
| forward-unmatched | |
| 0xc0/0xf0 0 | 0xb0/0x0f 20 1 | |
| 0xc0/0xf0 1 | 0xb0/0x0f 20 8 | |
| 0xc0/0xf0 2 | 0xb0/0x0f 20 16 | |
| 0xc0/0xf0 3 | 0xb0/0x0f 20 24 | |
| 0xc0/0xf0 4 | 0xb0/0x0f 20 32 |
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/mingw-w64-libraries/winpthreads/src/thread.c b/mingw-w64-libraries/winpthreads/src/thread.c | |
| index 36ee665..97257c4 100644 | |
| --- a/mingw-w64-libraries/winpthreads/src/thread.c | |
| +++ b/mingw-w64-libraries/winpthreads/src/thread.c | |
| @@ -983,8 +983,9 @@ _pthread_cleanup_dest (pthread_t t) | |
| int flag = 0; | |
| pthread_spin_lock (&tv->spin_keys); | |
| - for (i = 0; i < tv->keymax; i++) | |
| + for (unsigned int k = 0; k < tv->keymax; k++) |
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
| ardour { | |
| ["type"] = "EditorAction", | |
| name = "Set I/O config", | |
| license = "MIT", | |
| author = "Robin Gareus, Wargreen", | |
| description = [[Set a custom track I/O configuration]] | |
| } | |
| function factory(unused_params) | |
| return function() |
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
| #!/home/rgareus/src/ardour/gtk2_ardour/arlua | |
| --set_debug_options ("Pool") | |
| --set_debug_options ("SessionEvents") | |
| -- setup audio-engine (global) | |
| AudioEngine:set_backend("None (Dummy)", "", "") | |
| --AudioEngine:set_backend("JACK", "", "") -- connect to JACK | |
| -- create a test session, or load it, if it exists |
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
| ardour { ["type"] = "dsp", name = "Lua B-Format Reverb", license = "MIT", author = "Ardour Team", description = [[Another simple DSP example]] } | |
| function dsp_ioconfig () return | |
| { | |
| { audio_in = 5, audio_out = 4}, | |
| } | |
| end | |
| local conv |
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
| ardour { ["type"] = "dsp", name = "Beelzebub Maximizer", category = "Dynamics", license = "MIT", author = "Ardour Team", description = [[Barry's Satan Maximizer]] } | |
| -- this is based on swh's https://github.com/swh/ladspa/blob/master/satan_maximiser_1408.xml | |
| function dsp_ioconfig () return | |
| -- -1, -1 = any number of channels as long as input and output count matches | |
| { { audio_in = -1, audio_out = -1 } } | |
| end | |
| function dsp_params () | |
| return |
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
| // g++ -o cpu cpu.cc && cpu | |
| #include <iostream> | |
| #include <vector> | |
| #include <string.h> | |
| #include <bitset> | |
| #include <array> | |
| #include <string> | |
| #include <cpuid.h> |
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
| /* firstNZsample.c - print time of first non-zero audio sample | |
| * | |
| * (C) 2009 Robin Gareus <robin@gareus.org> | |
| * GPLv2 https://www.gnu.org/licenses/gpl-2.0.html | |
| * | |
| * compile with: | |
| * gcc -o firstNZsample firstNZsample.c -Wall -lsndfile | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> |
NewerOlder