Changes between Version 11 and Version 12 of libroar/plugins


Ignore:
Timestamp:
01/15/13 15:59:12 (8 years ago)
Author:
ph3-der-loewe
Comment:

+ Infos about CSI.

Legend:

Unmodified
Added
Removed
Modified
  • libroar/plugins

    v11 v12  
    6363||status         ||Called to get client status for flow control || 
    6464 
     65=== Common Service Interface (CSI) === 
     66The Common Service Interface is a way to register any kind of service. it is similar to RegFN but registers services (APIs) not objects. A  service is defined by it's name and version as well as the name and version of the application it is used by to avoid namespace collisions. A server can for example provide support to read, write or process some kind of data. There are also some universal services defined. Those have the application name and version set to NULL. Those services are defined by the RoarAudio project and designed to do some common tasks. This is done make plugins more portable between host applications. Services can be provided and used by all parts a of program: the main program, libraries and plugins. The API as returned by the service is a plain struct with the same scope as the lhandle it is provided by (e.g. the scope of the the plugin being loaded). The struct can contain any number of functions and constant/static data. dynamic data must be passed by functions to allow context separation to work. 
     67 
     68libroar provides some function and macros to easily build and use services. 
    6569== List of Subtopics == 
    6670