Merge branch 'develop' of gitea.larke.org:klarke/libcm into develop
This commit is contained in:
commit
af855ac168
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
libcm is a C application development framework with an emphasis on audio signal processing.
|
||||||
|
|
@ -41,6 +41,7 @@ extern "C" {
|
|||||||
kDeviceDuiId, // ui<--eng device label
|
kDeviceDuiId, // ui<--eng device label
|
||||||
kProgramDuiId, // ui<--eng program label
|
kProgramDuiId, // ui<--eng program label
|
||||||
kProgramDfltDuiId, // ui<--eng dflt program label
|
kProgramDfltDuiId, // ui<--eng dflt program label
|
||||||
|
kPgmDoneDuiId, // ui<--end the program is done
|
||||||
|
|
||||||
// The following selId's are used by cmAudDsp to indicate various commands.
|
// The following selId's are used by cmAudDsp to indicate various commands.
|
||||||
kSetAudioCfgDuiId, // 1) select an audio system setup
|
kSetAudioCfgDuiId, // 1) select an audio system setup
|
||||||
|
@ -390,6 +390,9 @@ extern "C" {
|
|||||||
// Used to transmit messages to the audio system.
|
// Used to transmit messages to the audio system.
|
||||||
cmDspRC_t cmDspSendValueToAudioSys( cmDspCtx_t* ctx, unsigned msgTypeId, unsigned selId, unsigned valId, const cmDspValue_t* valPtr );
|
cmDspRC_t cmDspSendValueToAudioSys( cmDspCtx_t* ctx, unsigned msgTypeId, unsigned selId, unsigned valId, const cmDspValue_t* valPtr );
|
||||||
|
|
||||||
|
// Notify the system that the program is done and can be shutdown
|
||||||
|
cmDspRC_t cmDspProgramIsDone( cmDspCtx_t* ctx );
|
||||||
|
|
||||||
// The following functions are used to send message to the UI and are
|
// The following functions are used to send message to the UI and are
|
||||||
// implemented in cmDspUi.c. They are declared here because they are
|
// implemented in cmDspUi.c. They are declared here because they are
|
||||||
// visible to the cmDspInst functions which use them but are not available
|
// visible to the cmDspInst functions which use them but are not available
|
||||||
|
@ -188,6 +188,9 @@ cmDspRC_t _cmDspUiUseInstSymbolAsLabel( cmDspCtx_t* ctx, cmDspInst_t* inst, unsi
|
|||||||
cmDspRC_t cmDspSendValueToAudioSys( cmDspCtx_t* ctx, unsigned msgTypeId, unsigned selId, unsigned valId, const cmDspValue_t* valPtr )
|
cmDspRC_t cmDspSendValueToAudioSys( cmDspCtx_t* ctx, unsigned msgTypeId, unsigned selId, unsigned valId, const cmDspValue_t* valPtr )
|
||||||
{ return _cmDspUiMsg(ctx, msgTypeId, selId, 0, NULL, valId, valPtr ); }
|
{ return _cmDspUiMsg(ctx, msgTypeId, selId, 0, NULL, valId, valPtr ); }
|
||||||
|
|
||||||
|
cmDspRC_t cmDspProgramIsDone( cmDspCtx_t* ctx )
|
||||||
|
{ return _cmDspUiMsg(ctx, kUiSelAsId, kPgmDoneDuiId, 0, NULL, cmInvalidId, NULL ); }
|
||||||
|
|
||||||
cmDspRC_t cmDspUiConsolePrint( cmDspCtx_t* ctx, cmChar_t* text )
|
cmDspRC_t cmDspUiConsolePrint( cmDspCtx_t* ctx, cmChar_t* text )
|
||||||
{
|
{
|
||||||
cmDspValue_t v;
|
cmDspValue_t v;
|
||||||
@ -514,3 +517,4 @@ cmDspRC_t cmDspUiNewPage( cmDspCtx_t* ctx, const cmChar_t* title )
|
|||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user