aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2021-03-10eg-sampler: Fix out of bounds sample read after loading new fileFilipe Coelho1-0/+4
2020-12-26Format all code with clang-formatDavid Robillard15-2749/+2679
2020-12-26Make include guards surround all header contentsDavid Robillard1-3/+3
For consistency, and because clang-tidy can't figure out if a define is an include guard unless it ends the file.
2020-12-26Add clang-format suppression commentsDavid Robillard9-0/+56
2020-12-18eg-sampler: Send update to UI if gain parameter changesFilipe Coelho2-8/+46
2020-12-18eg-sampler: Save and restore gain parameter valueFilipe Coelho1-2/+28
2020-12-18eg-sampler: Fix default gain valueFilipe Coelho1-1/+1
The initial gain coefficient in the code is 1.0 (full volume). The parameter itself is in dB, though, so the matching external default value is zero.
2020-12-16Add assertions for atom buffer sizesDavid Robillard2-0/+13
This avoids warnings about potential null pointer dereferences, which is true, but in this case the buffer are static so it's really a programming error if there is ever an overrun.
2020-12-16Clean up includesDavid Robillard7-5/+17
2020-12-16Avoid clang-tidy warning about sizeofDavid Robillard1-1/+1
2020-12-16Fix implicit and narrowing conversionsDavid Robillard6-10/+10
2020-12-16Isolate variable declarations and initialize all variablesDavid Robillard5-19/+20
2020-12-16Simplify degenerate switchesDavid Robillard7-40/+7
2020-09-27Don't use else after returnDavid Robillard2-4/+13
2020-09-27Initialize all variablesDavid Robillard1-1/+1
2020-09-27Fix narrowing conversionsDavid Robillard1-11/+11
2020-09-27Clean up includesDavid Robillard1-0/+2
2020-07-25Revert "Use LV2_ATOM_BODY macros in examples instead of pointer arithmetic"David Robillard3-3/+3
This reverts commit 3aad5eb1b08ed5c27e60aa36021c4a85ce90c08f, which broke the example plugins.
2020-07-15Fix incorrect printf format specifiersDavid Robillard2-3/+3
2020-05-22eg-sampler: Fix size of note-on atom sent from UIDavid Robillard1-1/+1
2020-03-17Use LV2_ATOM_BODY macros in examples instead of pointer arithmeticRuoxi Wang3-3/+3
2020-03-17eg-sampler: Destroy widgets in the correct orderMichael Fisher1-6/+19
2020-03-17eg-sampler: Improve UI show/hide handlingMichael Fisher1-4/+43
Ensures that gtk_init() is only called once, and that the idle callback does not block the UI thread.
2020-03-17Add a UI feature to request a parameter value from the hostDavid Robillard2-7/+28
2020-02-16Use standard Turtle lexer in PygmentsDavid Robillard4-6/+6
A Turtle lexer was finally added in Pygments 2.1.
2020-02-16Make parameter data validateDavid Robillard2-5/+6
This is rather annoying, but unfortunately xsd:decimal is not a related type to xsd:float. A future smarter version of the validator will be able to deal with this, but for now we'll have to be explicit and tolerate a bit of unpleasant syntactic noise.
2019-11-10Simplify plugin building and set up source tree run environmentDavid Robillard7-75/+38
This sets up LV2_PATH in waf tests so that tests can use specifications and plugins from the source tree without installing.
2019-10-17Set Gtk as a system dependency to suppress warningsDavid Robillard2-2/+8
2019-10-17Update autowafDavid Robillard7-15/+11
2019-04-21Fix building within a recursive projectDavid Robillard7-69/+16
2019-03-17Update autowaf and adapt to new APIDavid Robillard7-28/+0
2019-01-10Sort includes from local to standard and fix exposed issuesDavid Robillard14-75/+85
This order is better because it ensures that headers can stand alone and include everything they need. Several missing includes were exposed by this, and are also fixed in this commit.
2019-01-10Remove workaround for ancient MSVCDavid Robillard4-12/+4
2018-09-23Fix various Python style issuesDavid Robillard1-6/+6
2018-09-23Clean up includesDavid Robillard11-11/+51
2018-09-22Install standard headers to simpler include pathsDavid Robillard13-69/+69
2018-05-21eg-sampler: Fix segfault on old_sample null derefHarry van Haaren1-7/+5
Fixes a segmentation fault in eg-sampler when a sample is loaded for the first time. Dereferencing old_sample->path causes the NULL pointer segfault. Resolved by always simplifying code to always write_set_file, even if the filename is the same. Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-04-07eg-midigate: Respond to "all notes off" MIDI messageRobin Gareus1-1/+8
2018-01-05Upgrade to waf 2.0.4David Robillard7-28/+21
2017-02-12Fix uninitialized sndfile structureDavid Robillard1-1/+1
2017-02-12Fix memory leakDavid Robillard1-0/+2
2016-10-19Fix mismatched gain parameter URIDavid Robillard1-1/+1
2016-10-19Gracefully handle failure to load sampleDavid Robillard1-5/+8
2016-10-05Avoid repeatedly requesting the same peaksDavid Robillard1-0/+5
2016-10-05Write output between events with sample accuracyDavid Robillard2-105/+130
This is closer to how a non-toy plugin should work, and importantly demonstrates the proper way to emit audio while processing events. In particular, this approach makes sample-accurate session export possible (thanks to the sychronous possibilities of the worker).
2016-10-05Add play button to UIDavid Robillard1-12/+46
2016-10-05Fix translationsDavid Robillard1-4/+4
2016-10-05Draw waveform aligned to pixel gridDavid Robillard1-0/+3
2016-10-04eg-sampler: Add waveform display to UIDavid Robillard6-76/+466
2016-10-03Improve documentationDavid Robillard1-74/+41