From 05607e31243e5e85a3801d4513192bb1f2150b14 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Mon, 30 May 2005 03:04:19 +0000 Subject: Remembered to update all the edited files. Should now be in sync... will have to test it though. svn path=/trunk/; revision=3092 --- pd/src/s_midi_pm.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'pd/src/s_midi_pm.c') diff --git a/pd/src/s_midi_pm.c b/pd/src/s_midi_pm.c index 1f3f11c8..a6c26b26 100644 --- a/pd/src/s_midi_pm.c +++ b/pd/src/s_midi_pm.c @@ -60,7 +60,7 @@ void sys_do_open_midi(int nmidiin, int *midiinvec, if (devno == midiinvec[i]) { err = Pm_OpenInput(&mac_midiindevlist[mac_nmidiindev], - j, NULL, 100, NULL, NULL, NULL); + j, NULL, 100, NULL, NULL); if (err) post("could not open midi input %d (%s): %s", j, info->name, Pm_GetErrorText(err)); @@ -258,21 +258,6 @@ void sys_poll_midi(void) } } -#if 0 -void sys_listmididevs(void) /* lifted from pa_devs.c in portaudio */ -{ - int i,j; - for (i = 0; i < Pm_CountDevices(); i++) - { - const PmDeviceInfo *info = Pm_GetDeviceInfo(i); - printf("%d: %s, %s", i, info->interf, info->name); - if (info->input) printf(" (input)"); - if (info->output) printf(" (output)"); - printf("\n"); - } -} -#endif - void midi_getdevs(char *indevlist, int *nindevs, char *outdevlist, int *noutdevs, int maxndev, int devdescsize) { -- cgit v1.2.1