Dave Robillard wrote:
> How would you access the data in code? (it'd be ugly/annoying)
>
Control byte of MIDI - data[0]
First argument of MIDI - data[1]
Second argument of MIDI - data[2]
With non-MIDI, you'd cast data to some other structure anyway, so
there's no difference (apart from being able to use (struct blah *)data
instead of (struct blah *)&data).
Krzysztof
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sun Dec 9 20:15:04 2007
This archive was generated by hypermail 2.1.8 : Sun Dec 09 2007 - 20:15:04 EET