[LAD] "enhanced event port" LV2 extension proposal
    Krzysztof Foltman 
    wdev at foltman.com
       
    Sun Dec  9 17:09:49 UTC 2007
    
    
  
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
    
    
More information about the Linux-audio-dev
mailing list