From ae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 2 Feb 2004 11:28:02 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r1301, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1302 --- pd/portmidi_osx/portmidi.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pd/portmidi_osx/portmidi.c') diff --git a/pd/portmidi_osx/portmidi.c b/pd/portmidi_osx/portmidi.c index c2a32ae7..c8883303 100644 --- a/pd/portmidi_osx/portmidi.c +++ b/pd/portmidi_osx/portmidi.c @@ -12,13 +12,15 @@ descriptor_node descriptors[pm_descriptor_max]; /* pm_add_device -- describe interface/device pair to library * - * This is called at intialization time, once for each + * This is called at initialization time, once for each * interface (e.g. DirectSound) and device (e.g. SoundBlaster 1) * The strings are retained but NOT COPIED, so do not destroy them! * * returns pmInvalidDeviceId if device memory is exceeded * otherwise returns pmNoError + * */ + PmError pm_add_device(char *interf, char *name, int input, void *descriptor, pm_fns_type dictionary) { @@ -279,7 +281,6 @@ PmError Pm_Abort( PortMidiStream* stream ) return (*midi->dictionary->abort)(midi); } - PmError Pm_Close( PortMidiStream *stream ) { PmInternal *midi = (PmInternal *) stream; @@ -354,5 +355,3 @@ int pm_queue_full(PmInternal *midi) return tail == midi->head; } - - -- cgit v1.2.1