Changeset 980b93d in ingen


Ignore:
Timestamp:
Nov 7, 2015, 8:41:01 PM (2 years ago)
Author:
David Robillard <d@…>
Branches:
groups, master, nodeless, parallel, parameters, sequencefix, tasks
Children:
4f86366
Parents:
36219bc
Message:

Add support for instance-access and data-access

git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5815 a436a847-0d15-0410-975c-d299462d15a1

Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • ingen/Node.hpp

    r36219bc r980b93d  
    2121#include "ingen/ingen.h"
    2222#include "ingen/types.hpp"
     23#include "lilv/lilv.h"
    2324#include "raul/Path.hpp"
    2425
     
    6768    virtual const Resource* plugin()             const { return NULL; }
    6869
     70    // Plugin blocks only
     71    virtual LilvInstance* instance() { return NULL; }
     72
    6973    // All objects
    7074    virtual GraphType           graph_type()   const = 0;
  • src/World.cpp

    r36219bc r980b93d  
    2323
    2424#include "ingen/Configuration.hpp"
     25#include "ingen/DataAccess.hpp"
    2526#include "ingen/EngineBase.hpp"
     27#include "ingen/InstanceAccess.hpp"
    2628#include "ingen/LV2Features.hpp"
    2729#include "ingen/Log.hpp"
     
    126128        lv2_features->add_feature(uri_map->urid_map_feature());
    127129        lv2_features->add_feature(uri_map->urid_unmap_feature());
     130        lv2_features->add_feature(SPtr<InstanceAccess>(new InstanceAccess()));
     131        lv2_features->add_feature(SPtr<DataAccess>(new DataAccess()));
    128132        lilv_world_load_all(lilv_world);
    129133
  • src/server/LV2Block.hpp

    r36219bc r980b93d  
    4848
    4949    bool instantiate(BufferFactory& bufs);
     50
     51    LilvInstance* instance() { return instance(0); }
    5052
    5153    BlockImpl* duplicate(Engine&             engine,
  • wscript

    r36219bc r980b93d  
    7575    autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM',
    7676                      atleast_version='0.4.6', mandatory=True)
    77     autowaf.check_pkg(conf, 'raul', uselib_store='RAUL',
    78                       atleast_version='0.8.6', mandatory=True)
     77    autowaf.check_pkg(conf, 'raul-1', uselib_store='RAUL',
     78                      atleast_version='1.0.0', mandatory=True)
    7979    autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
    8080                      atleast_version='0.18.0', mandatory=False)
Note: See TracChangeset for help on using the changeset viewer.