2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include "camd_intern.h"
12 /*****************************************************************************
16 AROS_LH1(WORD
, MidiMsgType
,
19 AROS_LHA(MidiMsg
*, msg
, A0
),
22 struct CamdBase
*, CamdBase
, 31, Camd
)
25 Return the type of a message (see <midi/camd.h>). sysex messages
45 2001-01-12 ksvalast first created
47 *****************************************************************************/
51 if(msg
->mm_Status
==0xf0 || msg
->mm_Status
==0xf7) return -1;
53 return MidiMsgType_status_data1(msg
->mm_Status
,msg
->mm_Data1
);