aboutsummaryrefslogtreecommitdiff
path: root/pd/portaudio/portmidi-macosx/pmdarwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/portaudio/portmidi-macosx/pmdarwin.c')
-rw-r--r--pd/portaudio/portmidi-macosx/pmdarwin.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/pd/portaudio/portmidi-macosx/pmdarwin.c b/pd/portaudio/portmidi-macosx/pmdarwin.c
deleted file mode 100644
index 510339c3..00000000
--- a/pd/portaudio/portmidi-macosx/pmdarwin.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * PortMidi OS-dependent interface for Darwin (MacOS X)
- * Jon Parise <jparise@cmu.edu>
- *
- * $Id: pmdarwin.c,v 1.1.1.1 2002-07-29 17:06:16 ggeiger Exp $
- */
-
-/*
- * This file only needs to implement pm_init(), which calls various
- * routines to register the available midi devices. This file must
- * be separate from the main portmidi.c file because it is system
- * dependent, and it is separate from, say, pmwinmm.c, because it
- * might need to register devices for winmm, directx, and others.
- */
-
-#include <stdlib.h>
-#include "portmidi.h"
-#include "pmmacosx.h"
-
-PmError pm_init()
-{
- return pm_macosx_init();
-}
-
-PmError pm_term()
-{
- return pm_macosx_term();
-}
-
-PmDeviceID Pm_GetDefaultInputDeviceID() { return 0; };
-PmDeviceID Pm_GetDefaultOutputDeviceID() { return 0; };
-
-void *pm_alloc(size_t s) { return malloc(s); }
-
-void pm_free(void *ptr) { free(ptr); }
-