Mercurial > hg > Members > masakoha > testcode
changeset 32:d6fd8aaaa358
fix
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 06 Aug 2014 00:59:42 +0900 |
parents | 4580f792d4c6 |
children | a19e119d9f2b |
files | c/portmidi/main.cc |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/c/portmidi/main.cc Tue Aug 05 15:02:54 2014 +0900 +++ b/c/portmidi/main.cc Wed Aug 06 00:59:42 2014 +0900 @@ -34,13 +34,13 @@ void process_midi(PtTimestamp timestamp, void *userData) { - buffer[0].timestamp = timestamp+0; - buffer[0].message = Pm_Message(0x90, 60, 100); - buffer[1].timestamp = timestamp+1000; - buffer[1].message = Pm_Message(0x90, 60, 0); - buffer[2].timestamp = timestamp+1000; - buffer[2].message = Pm_Message(0x90, 64, 100); - buffer[3].timestamp = timestamp+2000; - buffer[3].message = Pm_Message(0x90, 64, 0); - Pm_Write(midi, buffer, 4); + buffer[0].timestamp = timestamp+0; + buffer[0].message = Pm_Message(0x90, 60, 100); + buffer[1].timestamp = timestamp+1000; + buffer[1].message = Pm_Message(0x90, 60, 0); + buffer[2].timestamp = timestamp+1000; + buffer[2].message = Pm_Message(0x90, 64, 100); + buffer[3].timestamp = timestamp+2000; + buffer[3].message = Pm_Message(0x90, 64, 0); + Pm_Write(midi, buffer, 4); }