aboutsummaryrefslogtreecommitdiff
path: root/pd/portmidi_osx/portmidi.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2004-02-02 11:28:02 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2004-02-02 11:28:02 +0000
commitae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 (patch)
tree1e7570f11ac688e94342968e90301c4684e61193 /pd/portmidi_osx/portmidi.c
parentf26399eba6ee6ce9eb7bae9a4b60a90dc2ebca94 (diff)
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
Diffstat (limited to 'pd/portmidi_osx/portmidi.c')
-rw-r--r--pd/portmidi_osx/portmidi.c7
1 files changed, 3 insertions, 4 deletions
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;
}
-
-