client.h   client.h 
// client.h // client.h
// //
/************************************************************************** ** /************************************************************************** **
liblscp - LinuxSampler Control Protocol API liblscp - LinuxSampler Control Protocol API
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
skipping to change at line 64 skipping to change at line 64
char * version; char * version;
} lscp_engine_info_t; } lscp_engine_info_t;
/** Channel info cache struct. */ /** Channel info cache struct. */
typedef struct _lscp_channel_info_t typedef struct _lscp_channel_info_t
{ {
char * engine_name; char * engine_name;
int audio_device; int audio_device;
int audio_channels; int audio_channels;
char ** audio_routing; int * audio_routing;
char * instrument_file; char * instrument_file;
int instrument_nr; int instrument_nr;
char * instrument_name; char * instrument_name;
int instrument_status; int instrument_status;
int midi_device; int midi_device;
int midi_port; int midi_port;
int midi_channel; int midi_channel;
int midi_map; int midi_map;
float volume; float volume;
int mute; int mute;
skipping to change at line 95 skipping to change at line 95
} lscp_buffer_fill_t; } lscp_buffer_fill_t;
/** Buffer fill stream usage types. */ /** Buffer fill stream usage types. */
typedef enum _lscp_usage_t typedef enum _lscp_usage_t
{ {
LSCP_USAGE_BYTES = 0, LSCP_USAGE_BYTES = 0,
LSCP_USAGE_PERCENTAGE LSCP_USAGE_PERCENTAGE
} lscp_usage_t; } lscp_usage_t;
/** Effect send info cache struct. */
typedef struct _lscp_fxsend_info_t
{
char * name;
int midi_controller;
int * audio_routing;
} lscp_fxsend_info_t;
/** MIDI instrument parameter struct. */ /** MIDI instrument parameter struct. */
typedef struct _lscp_midi_instrument_t typedef struct _lscp_midi_instrument_t
{ {
int map; int map;
int bank; int bank;
int prog; int prog;
} lscp_midi_instrument_t; } lscp_midi_instrument_t;
/** MIDI instrument load mode. */ /** MIDI instrument load mode. */
skipping to change at line 231 skipping to change at line 240
lscp_status_t lscp_reset_channel (lscp_client_t *pCl ient, int iSamplerChannel); lscp_status_t lscp_reset_channel (lscp_client_t *pCl ient, int iSamplerChannel);
lscp_status_t lscp_reset_sampler (lscp_client_t *pCl ient); lscp_status_t lscp_reset_sampler (lscp_client_t *pCl ient);
lscp_server_info_t * lscp_get_server_info (lscp_client_t *pCl ient); lscp_server_info_t * lscp_get_server_info (lscp_client_t *pCl ient);
int lscp_get_total_voice_count (lscp_client_t *pCl ient); int lscp_get_total_voice_count (lscp_client_t *pCl ient);
int lscp_get_total_voice_count_max (lscp_client_t *pCl ient); int lscp_get_total_voice_count_max (lscp_client_t *pCl ient);
float lscp_get_volume (lscp_client_t *pCl
ient );
lscp_status_t lscp_set_volume (lscp_client_t *pCl
ient, float fVolume);
//-------------------------------------------------------------------------
// Effect sends control functions.
int lscp_create_fxsend (lscp_client_t *pCl
ient, int iSamplerChannel, int iMidiController, const char *pszFxName);
lscp_status_t lscp_destroy_fxsend (lscp_client_t *pCl
ient, int iSamplerChannel, int iFxSend);
int lscp_get_fxsends (lscp_client_t *pCl
ient, int iSamplerChannel);
int * lscp_list_fxsends (lscp_client_t *pCl
ient, int iSamplerChannel);
lscp_fxsend_info_t * lscp_get_fxsend_info (lscp_client_t *pCl
ient, int iSamplerChannel, int iFxSend);
lscp_status_t lscp_set_fxsend_audio_channel (lscp_client_t *pCl
ient, int iSamplerChannel, int iFxSend, int iAudioSrc, int iAudioDst);
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// MIDI instrument mapping control functions. // MIDI instrument mapping control functions.
int lscp_add_midi_instrument_map (lscp_client_t *pCl ient, const char *pszMapName); int lscp_add_midi_instrument_map (lscp_client_t *pCl ient, const char *pszMapName);
lscp_status_t lscp_remove_midi_instrument_map (lscp_client_t *pCl ient, int iMidiMap); lscp_status_t lscp_remove_midi_instrument_map (lscp_client_t *pCl ient, int iMidiMap);
int lscp_get_midi_instrument_maps (lscp_client_t *pCl ient); int lscp_get_midi_instrument_maps (lscp_client_t *pCl ient);
int * lscp_list_midi_instrument_maps (lscp_client_t *pCl ient); int * lscp_list_midi_instrument_maps (lscp_client_t *pCl ient);
const char * lscp_get_midi_instrument_map_name (lscp_client_t *p Client, int iMidiMap); const char * lscp_get_midi_instrument_map_name (lscp_client_t *p Client, int iMidiMap);
 End of changes. 4 change blocks. 
2 lines changed or deleted 35 lines changed or added


 device.h   device.h 
// device.h // device.h
// //
/************************************************************************** ** /************************************************************************** **
liblscp - LinuxSampler Control Protocol API liblscp - LinuxSampler Control Protocol API
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 event.h   event.h 
// event.h // event.h
// //
/************************************************************************** ** /************************************************************************** **
liblscp - LinuxSampler Control Protocol API liblscp - LinuxSampler Control Protocol API
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 socket.h   socket.h 
// socket.h // socket.h
// //
/************************************************************************** ** /************************************************************************** **
liblscp - LinuxSampler Control Protocol API liblscp - LinuxSampler Control Protocol API
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 thread.h   thread.h 
// thread.h // thread.h
// //
/************************************************************************** ** /************************************************************************** **
liblscp - LinuxSampler Control Protocol API liblscp - LinuxSampler Control Protocol API
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 version.h   version.h 
// version.h // version.h
// //
/************************************************************************** ** /************************************************************************** **
liblscp - LinuxSampler Control Protocol API liblscp - LinuxSampler Control Protocol API
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
skipping to change at line 27 skipping to change at line 27
You should have received a copy of the GNU General Public License along You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*************************************************************************** **/ *************************************************************************** **/
#ifndef __LSCP_VERSION_H #ifndef __LSCP_VERSION_H
#define __LSCP_VERSION_H #define __LSCP_VERSION_H
#define LSCP_PACKAGE "liblscp" #define LSCP_PACKAGE "liblscp"
#define LSCP_VERSION "0.5.1" #define LSCP_VERSION "0.5.2"
#endif // __LSCP_VERSION_H #endif // __LSCP_VERSION_H
// end of version.h // end of version.h
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/