AudioStreamer_GoToMarkerNumber compilation error

In the global rackspace I have an Audio Streaming Audio File Player loaded with some backing tracks. In the Global Rackspace Script I put some code in order to select the song when the On Song(oldSongIndex : integer, newSongIndex : integer) is fired. All is working correctly.

I want to add some code in order to select markers in the SAFP when a song part is selected:

On Songpart(oldSongpartIndex : integer, newSongpartIndex : integer)

Var return_value: Boolean

return_value = AudioStreamer_GoToMarkerNumber(BACKING,newSongpartIndex)

End

The above code does not compile with the error:

GLOBAL RACKSPACE (Script Entity: GlobalRackspace) - Semantic error in “Main”: Line 46, Col 5: Types are not compatible

The error is clear, the type of the value returned does not match that of the variable (boolean). Looking at the GP Scripts System Function documentation the declaration is:

AudioStreamer_GoToMarkerNumber : Go to the specific marker in the current track - Experimental

  • Declaration: function AudioStreamer_GoToMarkerNumber (aBlock : StreamingFilePlayerBlock, markerNumber : integer) returns bool

  • Category: Streaming

    • Parameters

    • aBlock : StreamingFilePlayerBlock

    • markerNumber : integer

  • returns bool

The strange is that the returned type is bool while type we can use in script code is boolean: may be a bug ( I see experimental) or am I doing something wrong?

NOTE: actually I have tried also with an integer, but the code still does not compile. If I use string the code compile but when On Songpart is fired the Gig Performer application crash.

You’ve found a real bug — a nasty one at that.

We will get this fixed ASAP

No problem, it can happen. Thanks a lot for your quick reply.