2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include <proto/exec.h>
11 #include "camd_intern.h"
14 /*****************************************************************************
18 AROS_LH1(void, SkipSysEx
,
21 AROS_LHA(struct MidiNode
*, midinode
, A0
),
24 struct CamdBase
*, CamdBase
, 29, Camd
)
27 Remind me to fill in things here later.
40 QuerySysEx(), GetSysEx()
46 2001-01-12 ksvalast first created
48 *****************************************************************************/
52 struct MyMidiNode
*mymidinode
=(struct MyMidiNode
*)midinode
;
55 ObtainSemaphore(&mymidinode
->sysexsemaphore2
);
58 mymidinode
->lastreadstatus
!=0xf0
60 ReleaseSemaphore(&mymidinode
->sysexsemaphore2
);
64 mymidinode
->sysex_nextis0
=TRUE
;
67 data
=*mymidinode
->sysex_read
;
68 mymidinode
->sysex_read
++;
69 if(mymidinode
->sysex_read
==mymidinode
->sysex_end
){
70 mymidinode
->sysex_read
=mymidinode
->sysex_start
;
74 ReleaseSemaphore(&mymidinode
->sysexsemaphore2
);