/[svn]/liblscp/trunk/lscp/client.h
ViewVC logotype

Diff of /liblscp/trunk/lscp/client.h

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

revision 167 by capela, Fri Jul 2 14:36:43 2004 UTC revision 378 by capela, Sun Feb 13 17:20:46 2005 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     liblscp - LinuxSampler Control Protocol API     liblscp - LinuxSampler Control Protocol API
5     Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This library is free software; you can redistribute it and/or     This library is free software; you can redistribute it and/or
8     modify it under the terms of the GNU Lesser General Public     modify it under the terms of the GNU Lesser General Public
# Line 30  Line 30 
30  extern "C" {  extern "C" {
31  #endif  #endif
32    
33    //-------------------------------------------------------------------------
34    // MIDI channel omni mode.
35    
36    #define LSCP_MIDI_CHANNEL_ALL   16
37    
38    
39  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
40  // Client data structures.  // Client data structures.
# Line 52  typedef struct _lscp_channel_info_t Line 57  typedef struct _lscp_channel_info_t
57      char **       audio_routing;      char **       audio_routing;
58      char *        instrument_file;      char *        instrument_file;
59      int           instrument_nr;      int           instrument_nr;
60        char *        instrument_name;
61      int           instrument_status;      int           instrument_status;
62      int           midi_device;      int           midi_device;
63      int           midi_port;      int           midi_port;
# Line 125  int                     lscp_client_get_ Line 131  int                     lscp_client_get_
131  lscp_status_t           lscp_client_subscribe           (lscp_client_t *pClient, lscp_event_t events);  lscp_status_t           lscp_client_subscribe           (lscp_client_t *pClient, lscp_event_t events);
132  lscp_status_t           lscp_client_unsubscribe         (lscp_client_t *pClient, lscp_event_t events);  lscp_status_t           lscp_client_unsubscribe         (lscp_client_t *pClient, lscp_event_t events);
133    
134  lscp_event_t            lscp_client_events              (lscp_client_t *pClient);  lscp_event_t            lscp_client_get_events          (lscp_client_t *pClient);
135    
136  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
137  // Client command protocol functions.  // Client command protocol functions.
# Line 160  lscp_status_t           lscp_set_channel Line 166  lscp_status_t           lscp_set_channel
166    
167  lscp_status_t           lscp_reset_channel              (lscp_client_t *pClient, int iSamplerChannel);  lscp_status_t           lscp_reset_channel              (lscp_client_t *pClient, int iSamplerChannel);
168    
169    lscp_status_t           lscp_reset_sampler              (lscp_client_t *pClient);
170    
171  #if defined(__cplusplus)  #if defined(__cplusplus)
172  }  }

Legend:
Removed from v.167  
changed lines
  Added in v.378

  ViewVC Help
Powered by ViewVC