[PD-cvs] pd/src s_midi.c,1.4.4.1.2.12.2.4,1.4.4.1.2.12.2.5
Mathieu Bouchard
matju at users.sourceforge.net
Wed Dec 20 09:12:28 CET 2006
- Previous message: [PD-cvs] pd/src s_audio_alsa.c, 1.5.4.5.2.2.2.1, 1.5.4.5.2.2.2.2 s_audio_jack.c, 1.5.4.8.2.7.2.1, 1.5.4.8.2.7.2.2 s_audio_portaudio.c, 1.1.2.21, 1.1.2.21.2.1
- Next message: [PD-cvs] pd/src x_list.c, 1.2.2.9.2.3, 1.2.2.9.2.4 x_qlist.c, 1.2.8.3, 1.2.8.3.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15569
Modified Files:
Tag: desiredata
s_midi.c
Log Message:
removed unused vars and reformatted code
Index: s_midi.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_midi.c,v
retrieving revision 1.4.4.1.2.12.2.4
retrieving revision 1.4.4.1.2.12.2.5
diff -C2 -d -r1.4.4.1.2.12.2.4 -r1.4.4.1.2.12.2.5
*** s_midi.c 19 Dec 2006 20:52:40 -0000 1.4.4.1.2.12.2.4
--- s_midi.c 20 Dec 2006 08:12:26 -0000 1.4.4.1.2.12.2.5
***************
*** 154,166 ****
}
! static void sys_queuemidimess(int portno, int onebyte, int a, int b, int c)
! {
! t_midiqelem *midiqelem;
int newhead = midi_outhead +1;
! if (newhead == MIDIQSIZE)
! newhead = 0;
! /* if FIFO is full flush an element to make room */
! if (newhead == midi_outtail)
[...964 lines suppressed...]
int noutdev, midioutdev[MAXMIDIOUTDEV];
t_atom argv[MAXNDEV];
int i;
sys_get_midi_params(&nindev, midiindev, &noutdev, midioutdev);
! for (i = 0; i < nindev; i++) SETFLOAT(argv+i, midiindev[i]);
! typedmess(gensym("pd")->s_thing, gensym("midicurrentindev"), nindev, argv);
}
! void glob_midi_getcurrentoutdevs(t_pd *dummy) {
/* these are the devices you're using: */
int nindev, midiindev[MAXMIDIINDEV];
int noutdev, midioutdev[MAXMIDIOUTDEV];
t_atom argv[MAXNDEV];
int i;
sys_get_midi_params(&nindev, midiindev, &noutdev, midioutdev);
! for (i = 0; i < noutdev; i++) SETFLOAT(argv+i, midioutdev[i]);
! typedmess(gensym("pd")->s_thing, gensym("midicurrentoutdev"), noutdev, argv);
}
- Previous message: [PD-cvs] pd/src s_audio_alsa.c, 1.5.4.5.2.2.2.1, 1.5.4.5.2.2.2.2 s_audio_jack.c, 1.5.4.8.2.7.2.1, 1.5.4.8.2.7.2.2 s_audio_portaudio.c, 1.1.2.21, 1.1.2.21.2.1
- Next message: [PD-cvs] pd/src x_list.c, 1.2.2.9.2.3, 1.2.2.9.2.4 x_qlist.c, 1.2.8.3, 1.2.8.3.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list