[PD-cvs] pd/portmidi/pm_mac pmmacosxcm.c,1.23,1.24

Miller Puckette millerpuckette at users.sourceforge.net
Wed Jan 16 22:54:12 CET 2008


Update of /cvsroot/pure-data/pd/portmidi/pm_mac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5166/pd/portmidi/pm_mac

Modified Files:
	pmmacosxcm.c 
Log Message:
0.41-0 test 11



Index: pmmacosxcm.c
===================================================================
RCS file: /cvsroot/pure-data/pd/portmidi/pm_mac/pmmacosxcm.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** pmmacosxcm.c	6 Aug 2007 16:39:54 -0000	1.23
--- pmmacosxcm.c	16 Jan 2008 21:54:10 -0000	1.24
***************
*** 1,709 ****
! /*
!  * Platform interface to the MacOS X CoreMIDI framework
!  * 
!  * Jon Parise <jparise at cmu.edu>
!  * and subsequent work by Andrew Zeldis and Zico Kolter
!  * and Roger B. Dannenberg
!  *
!  * $Id$
!  */
!  
[...1614 lines suppressed...]
! 
!         /* Register this device with PortMidi */
!         pm_add_device("CoreMIDI", cm_get_full_endpoint_name(endpoint),
!                       FALSE, (void*)endpoint, &pm_macosx_out_dictionary);
!     }
!     return pmNoError;
!     
! error_return:
!     pm_hosterror = macHostError;
!     sprintf(pm_hosterror_text, "Host error %ld: %s\n", macHostError, error_text);
!     pm_macosxcm_term(); /* clear out any opened ports */
!     return pmHostError;
! }
! 
! void pm_macosxcm_term(void)
! {
!     if (client != NULL)	 MIDIClientDispose(client);
!     if (portIn != NULL)	 MIDIPortDispose(portIn);
!     if (portOut != NULL) MIDIPortDispose(portOut);
! }





More information about the Pd-cvs mailing list