CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_Fct_CP2Midi.h
Go to the documentation of this file.
1 //*********************************************************
2 // File: CLC_Fct_CP2Midi.h
3 // Project: CopperLan CHAILink Client SDK
4 // Version: 1.3
5 // Release Date: 2014/04/15
6 //*********************************************************
7 
8 /********************************************************************
9 Software License Agreement: CHAILink Client source code
10 
11 The software supplied herewith by Klavis Technology (the “Company”) is intended and
12 supplied to you, the Company’s customer, for use solely and exclusively on embedded
13 CopperLan products needing a CHAILink Client.
14  The software is owned by the Company and/or its supplier, and is protected
15  under applicable copyright laws. All rights are reserved. Any use in violation of the
16  foregoing restrictions may subject the user to criminal sanctions under applicable laws,
17 as well as to civil liability for the breach of the terms and conditions of this license.
18 
19 THIS SOFTWARE MUST REMAIN UNMODIFIED. NO WARRANTIES, WHETHER EXPRESS,
20  IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
21  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE
22 IN CASE OF SOURCE CODE CHANGE BY THE CUSTOMER. IN CASE OF SUCH CHANGE, THE
23 COMPANY SHALL NOT BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
24 OF ANY KIND.
25 ********************************************************************/
26 
27 #ifndef _CLC_FCT_CP2MIDI_H_
28 #define _CLC_FCT_CP2MIDI_H_
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 
44 
45 #if defined(ENABLE_DEVICE_COPPERLAN2MIDI)
46 
54  CPHOBJECT const hCP2Midi);
55 
61  CPHOBJECT const hCP2Midi);
62 
63 #endif // defined(ENABLE_DEVICE_COPPERLAN2MIDI)
64 
72  CPHOBJECT const hCP2Midi,
73  MIDICCModes const mode);
74 
82  CPHOBJECT const hCP2Midi,
83  CPBOOLEAN const fEnable);
84 
91  CPHOBJECT const hCP2Midi,
92  CPBOOLEAN * const pfEnabled);
93 
99  CPHOBJECT const hCP2Midi);
100 
102 
103 #ifdef __cplusplus
104 }
105 #endif
106 
107 #endif // _CLC_FCT_CP2MIDI_H_
CLC_ErrorCode CP2MIDI_RegisterNotificationHandler(CPHOBJECT const hCP2Midi)
Register notification handler for a CP2MIDI local device.
CLC_ErrorCode CP2MIDI_SetMIDICCMode(CPHOBJECT const hCP2Midi, MIDICCModes const mode)
Set the MIDI CC MSB/LSB mode. Default value is MSB.
#define CLC_SDK_API
Definition: CLCm_Platform.h:37
CLC_ErrorCode
Error code Enumeration. Error codes from 0x01 to 0xFF are related to a CopperLan functions return cod...
Definition: CLCm_Defines.h:469
MIDICCModes
MIDI Control Change MSB/LSB mode.
Definition: CLC_Enums.h:1252
CLC_ErrorCode CP2MIDI_IsActiveSensingEnabled(CPHOBJECT const hCP2Midi, CPBOOLEAN *const pfEnabled)
Check if MIDI active sensing is enabled.
CLC_ErrorCode CP2MIDI_DataConsumed(CPHOBJECT const hCP2Midi)
Send a DataConsumed on Sys input.
CLC_ErrorCode CP2MIDI_UnregisterNotificationHandler(CPHOBJECT const hCP2Midi)
Unregister notification handler for a CP2MIDI local device.
CPUINT32 CPHOBJECT
Handle on Object.
Definition: CLCm_Types.h:57
CLC_ErrorCode CP2MIDI_EnableActiveSensing(CPHOBJECT const hCP2Midi, CPBOOLEAN const fEnable)
Enable or disable the MIDI active sensing Active sensing is enabled by default.