/[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 977 by capela, Sun Dec 17 15:08:35 2006 UTC revision 1019 by capela, Thu Jan 11 12:33:05 2007 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     liblscp - LinuxSampler Control Protocol API     liblscp - LinuxSampler Control Protocol API
5     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, 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 98  typedef enum _lscp_usage_t Line 98  typedef enum _lscp_usage_t
98  } lscp_usage_t;  } lscp_usage_t;
99    
100    
101    /** Effect send info cache struct. */
102    typedef struct _lscp_fxsend_info_t
103    {
104            char * name;
105            int    midi_controller;
106            char **audio_routing;
107    
108    } lscp_fxsend_info_t;
109    
110    
111  /** MIDI instrument parameter struct. */  /** MIDI instrument parameter struct. */
112  typedef struct _lscp_midi_instrument_t  typedef struct _lscp_midi_instrument_t
113  {  {
# Line 238  lscp_server_info_t *    lscp_get_server_ Line 248  lscp_server_info_t *    lscp_get_server_
248  int                     lscp_get_total_voice_count      (lscp_client_t *pClient);  int                     lscp_get_total_voice_count      (lscp_client_t *pClient);
249  int                     lscp_get_total_voice_count_max  (lscp_client_t *pClient);  int                     lscp_get_total_voice_count_max  (lscp_client_t *pClient);
250    
251    float                   lscp_get_volume                 (lscp_client_t *pClient );
252    lscp_status_t           lscp_set_volume                 (lscp_client_t *pClient, float fVolume);
253    
254    //-------------------------------------------------------------------------
255    // Effect sends control functions.
256    
257    int                     lscp_create_fxsend              (lscp_client_t *pClient, int iSamplerChannel, int iMidiController, const char *pszFxName);
258    lscp_status_t           lscp_destroy_fxsend             (lscp_client_t *pClient, int iSamplerChannel, int iFxSend);
259    
260    int                     lscp_get_fxsends                (lscp_client_t *pClient, int iSamplerChannel);
261    int *                   lscp_list_fxsends               (lscp_client_t *pClient, int iSamplerChannel);
262    
263    lscp_fxsend_info_t *    lscp_get_fxsend_info            (lscp_client_t *pClient, int iSamplerChannel, int iFxSend);
264    
265    lscp_status_t           lscp_set_fxsend_audio_channel   (lscp_client_t *pClient, int iSamplerChannel, int iFxSend, int iAudioSrc, int iAudioDst);
266    
267  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
268  // MIDI instrument mapping control functions.  // MIDI instrument mapping control functions.
269    

Legend:
Removed from v.977  
changed lines
  Added in v.1019

  ViewVC Help
Powered by ViewVC