View Single Post
Old 07-26-2012, 05:29 AM   #21
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,815
Default

Quote:
Originally Posted by Breeder View Post
[*]GetTempoTimeSigMarker is outputing 10 elements, and not 9 as it says in the api

This is requested:
RPR_GetTempoTimeSigMarker(0, 2, 0, 0, 0, 0, 0, 0, 0,)

And this I get.
1, 0, 2, 11.950413223140496, 6, 0.0, 170.0, 4, 4, 1)

It seems int ptidx becomes 3. element instead of 2. etc...[/LIST]
If you are calling via ReaScript, this is how ReaScript works when there is information returned in the parameter list. The function return value is the first returned list value, followed by the parameters. See Help/HTML/ReaScript Documentation.
schwa is offline   Reply With Quote