/[svn]/liblscp/trunk/doc/reference.dox
ViewVC logotype

Diff of /liblscp/trunk/doc/reference.dox

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 156 by capela, Mon Jun 28 16:29:05 2004 UTC revision 188 by capela, Thu Jul 8 09:13:36 2004 UTC
# Line 10  Hi all, Line 10  Hi all,
10  On the path to a GUI for linuxsampler, I've been taking some of my spare  On the path to a GUI for linuxsampler, I've been taking some of my spare
11  time by writing an early implementation for the LSCP (the LinuxSampler  time by writing an early implementation for the LSCP (the LinuxSampler
12  Control Protocol), as defined from the current available draft document  Control Protocol), as defined from the current available draft document
13  (http://www.linuxsampler.org/api/draft-linuxsampler-protocol-11.pdf).  (http://www.linuxsampler.org/api/draft-linuxsampler-protocol-11.html).
14    
15  My implementation, while still rather crude, is taking the form of a  My implementation, while still rather crude, is taking the form of a
16  programming library for plain conventional C, codenamed liblscp.  programming library for plain conventional C, codenamed liblscp.
# Line 107  client_callback function. To unsubscribe Line 107  client_callback function. To unsubscribe
107    
108      @ref lscp_client_destroy (client);      @ref lscp_client_destroy (client);
109    
110  </pre>As for the current protocol draft (04), the client interface already maps  </pre>As for the current protocol draft (11), the client interface already maps
111  the following functions defined in "@ref lscp_client.h", one for each corresponding  the following functions defined in <lscp/@ref:client.h>, one for each corresponding
112  LSCP comand:<pre>  LSCP comand, and regarding the sampler channel space:<pre>
113    
114      @ref lscp_get_available_engines (client);      @ref lscp_get_available_engines (client);
115      @ref lscp_get_engine_info (client, engine_name);      @ref lscp_get_engine_info (client, engine_name);
# Line 133  LSCP comand:<pre> Line 133  LSCP comand:<pre>
133      @ref lscp_reset_channel (client, channel);      @ref lscp_reset_channel (client, channel);
134      @ref lscp_remove_channel (client, channel);      @ref lscp_remove_channel (client, channel);
135    
136  </pre>All these functions are wrappers to @ref lscp_client_query, and some will handle  </pre>For the audio output and MIDI input device configuration interface,
137    the following functions are respectively defined in <lscp/@ref:device.h>:<pre>
138    
139        @ref lscp_get_available_audio_drivers (client);
140        @ref lscp_get_audio_driver_info (client, audio_driver);
141        @ref lscp_get_audio_driver_param_info (client, audio_driver, param_key, deplist);
142        @ref lscp_create_audio_device (client, audio_driver, params);
143        @ref lscp_destroy_audio_device (client, audio_device);
144        @ref lscp_get_audio_devices (client);
145        @ref lscp_list_audio_devices (client);
146        @ref lscp_get_audio_device_info (client, audio_device);
147        @ref lscp_set_audio_device_param (client, audio_device, param);
148        @ref lscp_get_audio_channel_info (client, audio_device, audio_channel);
149        @ref lscp_get_audio_channel_param_info (client, audio_device, audio_channel, param);
150        @ref lscp_set_audio_channel_param (client, audio_device, audio_channel, param);
151    
152        @ref lscp_get_available_midi_drivers (client);
153        @ref lscp_get_midi_driver_info (client, midi_driver);
154        @ref lscp_get_midi_driver_param_info (client, midi_driver, param_key, deplist);
155        @ref lscp_create_midi_device (client, midi_driver, params);
156        @ref lscp_destroy_midi_device (client, midi_device);
157        @ref lscp_get_midi_devices (client);
158        @ref lscp_list_midi_devices (client);
159        @ref lscp_get_midi_device_info (client, midi_device);
160        @ref lscp_set_midi_device_param (client, midi_device, param);
161        @ref lscp_get_midi_port_info (client, midi_device, midi_port);
162        @ref lscp_get_midi_port_param_info (client, midi_device, midi_port, param);
163        @ref lscp_set_midi_port_param (client, midi_device, midi_port, param);
164    
165    </pre>Most of these functions are wrappers to @ref lscp_client_query, and some will handle
166  and change the result string accordingly.  and change the result string accordingly.
167    
168    

Legend:
Removed from v.156  
changed lines
  Added in v.188

  ViewVC Help
Powered by ViewVC