blob: 80640c3b19621765502c3904343571c9b49456a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
PortMIDI changes of 27 June 2003 by X. J. Scott
pmdarwin.c
----------
- added void parameter list to pm_init and pm_term
(to remove a compiler warning)
- Pm_GetDefaultInputDeviceID() and Pm_GetDefaultOutputDeviceID()
now return id of first input and output devices in system,
rather than returning 0 as before.
This fix enables valid default port values to be returned.
0 is returned if no such device is found.
ptdarwin.c
----------
- added void parameter list to Pt_Stop and Pt_Started
(to remove a compiler warning)
- added void *time_info parameter list to Pt_time
-> since Pt_Time is assigned in pmmacosx.c:get_timestamp() to
a variable of type PMTimeProcPtr, which requires this signature.
porttime.h
----------
- added void parameter list to Pt_Stop and Pt_Started
- added void *time_info parameter list to Pt_time
pmmacosx.c
----------
- midi_length():
fixed bug that gave bad lengths for system messages
[note that the F5 message may be an issue for someone
to deal with later since the MIDITimePiece interface appopriated
the F5 for a two byte long CableSelectID - this usage
and length differ from the MIDI standard.]
/ pm_macosx_init():
Now allocates the device names. This fixes bug before where
it assigned same string buffer on stack to all devices.
- pm_macosx_term(), deleteDeviceName():
devices strings allocated during pm_macosx_init() are deallocated.
+ pm_macosx_init(), newDeviceName():
registering kMIDIPropertyManufacturer + kMIDIPropertyModel +
kMIDIPropertyName for name strings instead of just name.
/ pm_macosx_init():
unsigned i to quiet compiler griping
- get_timestamp():
no change right here but type of Pt_Time() was altered in porttime.h
so it matches type PmTimeProcPtr in assignment in this function.
/ midi_write():
changed unsigned to signed to stop compiler griping
portmidi.h
----------
- Added void arg to Pm_GetHostError() to stop compiler gripe.
pmtest.c
---------
- Added Initialize and Terminate calls so that it doesn't
fail the 2nd time the test is run.
-----
PortMIDI changes of 11 Nov 2003 by X. J. Scott
pmmacosx.c
----------
- Handles ports that don't have the full set of property strings.
This fixes bug where crash would occur if a virtual port was present.
|