diff options
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event-helpers.h | 1 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/resize-port/resize-port.h | 8 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/extensions/ui/ui.h | 2 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/lv2core/wscript | 1 | ||||
-rw-r--r-- | plugins/eg-amp.lv2/amp.c | 2 | ||||
-rw-r--r-- | plugins/eg-amp.lv2/wscript | 3 | ||||
-rw-r--r-- | plugins/eg-fifths.lv2/fifths.c | 6 | ||||
-rw-r--r-- | plugins/eg-fifths.lv2/wscript | 2 | ||||
-rw-r--r-- | plugins/eg-metro.lv2/metro.c | 2 | ||||
-rw-r--r-- | plugins/eg-metro.lv2/wscript | 3 | ||||
-rw-r--r-- | plugins/eg-midigate.lv2/wscript | 3 | ||||
-rw-r--r-- | plugins/eg-sampler.lv2/wscript | 2 | ||||
-rw-r--r-- | plugins/eg-scope.lv2/examploscope_ui.c | 12 | ||||
-rw-r--r-- | plugins/wscript | 3 | ||||
-rw-r--r-- | wscript | 2 |
15 files changed, 23 insertions, 29 deletions
diff --git a/lv2/lv2plug.in/ns/ext/event/event-helpers.h b/lv2/lv2plug.in/ns/ext/event/event-helpers.h index 06e02a7..d459118 100644 --- a/lv2/lv2plug.in/ns/ext/event/event-helpers.h +++ b/lv2/lv2plug.in/ns/ext/event/event-helpers.h @@ -263,4 +263,3 @@ lv2_event_write_event(LV2_Event_Iterator* iter, #endif #endif /* LV2_EVENT_HELPERS_H */ - diff --git a/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h b/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h index 3d883a8..b8015dd 100644 --- a/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h +++ b/lv2/lv2plug.in/ns/ext/resize-port/resize-port.h @@ -56,15 +56,15 @@ typedef struct { /** Resize a port buffer to at least `size` bytes. - + This function MAY return an error, in which case the port buffer was not resized and the port is still connected to the same location. Plugins MUST gracefully handle this situation. - + This function is in the audio threading class. - + The host MUST preserve the contents of the port buffer when resizing. - + Plugins MAY resize a port many times in a single run callback. Hosts SHOULD make this as inexpensive as possible. */ diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h index 27350c4..9f36429 100644 --- a/lv2/lv2plug.in/ns/extensions/ui/ui.h +++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h @@ -207,7 +207,7 @@ typedef struct _LV2UI_Descriptor { This member may be set to NULL if the UI is not interested in supporting any extensions. This is similar to LV2_Descriptor::extension_data(). - + */ const void* (*extension_data)(const char* uri); } LV2UI_Descriptor; diff --git a/lv2/lv2plug.in/ns/lv2core/wscript b/lv2/lv2plug.in/ns/lv2core/wscript index d301fc3..339e433 100644 --- a/lv2/lv2plug.in/ns/lv2core/wscript +++ b/lv2/lv2plug.in/ns/lv2core/wscript @@ -80,4 +80,3 @@ def post_dist(ctx): os.remove(os.path.join(ctx.path.abspath(), 'NEWS')) except: pass - diff --git a/plugins/eg-amp.lv2/amp.c b/plugins/eg-amp.lv2/amp.c index eea9861..2aa39c4 100644 --- a/plugins/eg-amp.lv2/amp.c +++ b/plugins/eg-amp.lv2/amp.c @@ -214,7 +214,7 @@ static const LV2_Descriptor descriptor = { indices to find all the plugins defined in the library. The index is not an indentifier, the URI of the returned descriptor is used to determine the identify of the plugin. - + This method is in the ``discovery'' threading class, so no other functions or methods in this plugin library will be called concurrently with it. */ diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript index e068a60..96152c1 100644 --- a/plugins/eg-amp.lv2/wscript +++ b/plugins/eg-amp.lv2/wscript @@ -22,7 +22,7 @@ def configure(conf): if not autowaf.is_child(): autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') - + conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False) autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) @@ -64,4 +64,3 @@ def build(bld): uselib = 'M LV2', includes = includes) obj.env.cshlib_PATTERN = module_pat - diff --git a/plugins/eg-fifths.lv2/fifths.c b/plugins/eg-fifths.lv2/fifths.c index c7d12e1..25d7fee 100644 --- a/plugins/eg-fifths.lv2/fifths.c +++ b/plugins/eg-fifths.lv2/fifths.c @@ -95,7 +95,7 @@ instantiate(const LV2_Descriptor* descriptor, // Map URIs and initialise forge/logger map_fifths_uris(self->map, &self->uris); - + return (LV2_Handle)self; } @@ -142,12 +142,12 @@ run(LV2_Handle instance, if (note <= 127 - 7) { // Make a note one 5th (7 semitones) higher than input MIDINoteEvent fifth; - + // Could simply do fifth.event = *ev here instead... fifth.event.time.frames = ev->time.frames; // Same time fifth.event.body.type = ev->body.type; // Same type fifth.event.body.size = ev->body.size; // Same size - + fifth.msg[0] = msg[0]; // Same status fifth.msg[1] = msg[1] + 7; // Pitch up 7 semitones fifth.msg[2] = msg[2]; // Same velocity diff --git a/plugins/eg-fifths.lv2/wscript b/plugins/eg-fifths.lv2/wscript index c45dd64..811634e 100644 --- a/plugins/eg-fifths.lv2/wscript +++ b/plugins/eg-fifths.lv2/wscript @@ -39,7 +39,7 @@ def build(bld): target = '%s/%s' % (bundle, 'manifest.ttl'), install_path = '${LV2DIR}/%s' % bundle, LIB_EXT = module_ext) - + # Copy other data files to build bundle (build/eg-fifths.lv2) for i in ['fifths.ttl']: bld(features = 'subst', diff --git a/plugins/eg-metro.lv2/metro.c b/plugins/eg-metro.lv2/metro.c index 5e484b7..84d042d 100644 --- a/plugins/eg-metro.lv2/metro.c +++ b/plugins/eg-metro.lv2/metro.c @@ -69,7 +69,7 @@ typedef enum { wave which is conceptually played continuously. The 'tick' is generated by enveloping the amplitude so there is a short attack/decay peak around a tick, and silence the rest of the time. - + This example uses a simple AD envelope with fixed parameters. A more sophisticated implementation might use a more advanced envelope and allow the user to modify these parameters, the frequency of the wave, and so on. diff --git a/plugins/eg-metro.lv2/wscript b/plugins/eg-metro.lv2/wscript index 2a3731c..515dd6c 100644 --- a/plugins/eg-metro.lv2/wscript +++ b/plugins/eg-metro.lv2/wscript @@ -41,7 +41,7 @@ def build(bld): target = '%s/%s' % (bundle, 'manifest.ttl'), install_path = '${LV2DIR}/%s' % bundle, LIB_EXT = module_ext) - + # Copy other data files to build bundle (build/eg-metro.lv2) bld(features = 'subst', is_copy = True, @@ -63,4 +63,3 @@ def build(bld): use = ['M', 'LV2'], includes = includes) obj.env.cshlib_PATTERN = module_pat - diff --git a/plugins/eg-midigate.lv2/wscript b/plugins/eg-midigate.lv2/wscript index 44336af..16c8e5e 100644 --- a/plugins/eg-midigate.lv2/wscript +++ b/plugins/eg-midigate.lv2/wscript @@ -22,7 +22,7 @@ def configure(conf): if not autowaf.is_child(): autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') - + autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) print('') @@ -62,4 +62,3 @@ def build(bld): uselib = 'LV2', includes = includes) obj.env.cshlib_PATTERN = module_pat - diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript index 554a75c..3a6f472 100644 --- a/plugins/eg-sampler.lv2/wscript +++ b/plugins/eg-sampler.lv2/wscript @@ -45,7 +45,7 @@ def build(bld): target = '%s/%s' % (bundle, 'manifest.ttl'), install_path = '${LV2DIR}/%s' % bundle, LIB_EXT = module_ext) - + # Copy other data files to build bundle (build/eg-sampler.lv2) for i in ['sampler.ttl', 'click.wav']: bld(features = 'subst', diff --git a/plugins/eg-scope.lv2/examploscope_ui.c b/plugins/eg-scope.lv2/examploscope_ui.c index a8c1e2c..04f6292 100644 --- a/plugins/eg-scope.lv2/examploscope_ui.c +++ b/plugins/eg-scope.lv2/examploscope_ui.c @@ -296,17 +296,17 @@ on_expose_event(GtkWidget* widget, GdkEventExpose* ev, gpointer data) /** Parse raw audio data and prepare for later drawing. - + Note this is a toy example, which is really a waveform display, not an oscilloscope. A serious scope would not display samples as is. - + Signals above ~ 1/10 of the sampling-rate will not yield a useful visual display and result in a rather unintuitive representation of the actual waveform. - + Ideally the audio-data would be buffered and upsampled here and after that written in a display buffer for later use. - + For more information, see https://wiki.xiph.org/Videos/Digital_Show_and_Tell http://lac.linuxaudio.org/2013/papers/36.pdf @@ -587,7 +587,7 @@ recv_ui_state(EgScopeUI* ui, const LV2_Atom_Object* obj) fprintf(stderr, "eg-scope.lv2 UI error: Corrupt state message\n"); return 1; } - + // Get the values we need from the body of the property value atoms const int32_t spp = ((const LV2_Atom_Int*)spp_val)->body; const float amp = ((const LV2_Atom_Float*)amp_val)->body; @@ -603,7 +603,7 @@ recv_ui_state(EgScopeUI* ui, const LV2_Atom_Object* obj) /** Receive data from the DSP-backend. - + This is called by the host, typically at a rate of around 25 FPS. Ideally this happens regularly and with relatively low latency, but there diff --git a/plugins/wscript b/plugins/wscript index f099183..db641b4 100644 --- a/plugins/wscript +++ b/plugins/wscript @@ -15,7 +15,7 @@ def bld_book_src(task): filenames += [i.abspath()] literasc.gen(open(task.outputs[0].abspath(), 'w'), filenames) - + def build(bld): files = [bld.path.find_node('README.txt')] for i in ['eg-amp.lv2', @@ -41,4 +41,3 @@ def build(bld): stylesdir, pygments_style), source = 'book.txt', target = 'book.html') - @@ -259,7 +259,7 @@ def load_ttl(files): for f in files: model.parse(f, format='n3') return model - + # Task to build extension index def build_index(task): sys.path.append('./lv2specgen') |