~ubuntu-branches/debian/sid/x42-plugins/sid

« back to all changes in this revision

Viewing changes to tuna.lv2/src/tuna.c

  • Committer: Package Import Robot
  • Author(s): Jaromír Mikeš
  • Date: 2015-03-23 18:26:21 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20150323182621-bxlw3w09u72u4ned
Tags: 20141101-1
* Imported Upstream version 20141101
* Bump Standards.
* Patch refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
 
385
385
        LV2_Atom_Forge_Frame frame;
386
386
        lv2_atom_forge_frame_time(&self->forge, 0);
387
 
        lv2_atom_forge_blank(&self->forge, &frame, 1, self->uris.spectrum);
 
387
        x_forge_object(&self->forge, &frame, 1, self->uris.spectrum);
388
388
 
389
389
        lv2_atom_forge_property_head(&self->forge, self->uris.spec_data_x, 0);
390
390
        lv2_atom_forge_vector(&self->forge, sizeof(float), self->uris.atom_Float, p, sp_x);
497
497
                /* for each message from UI... */
498
498
                while(!lv2_atom_sequence_is_end(&(self->control)->body, (self->control)->atom.size, ev)) {
499
499
                        /* .. only look at atom-events.. */
500
 
                        if (ev->body.type == self->uris.atom_Blank) {
 
500
                        if (ev->body.type == self->uris.atom_Blank || ev->body.type == self->uris.atom_Object) {
501
501
                                const LV2_Atom_Object* obj = (LV2_Atom_Object*)&ev->body;
502
502
                                /* interpret atom-objects: */
503
503
                                if (obj->body.otype == self->uris.ui_on) {