int axl_stream_get_global_index ( axlStream *  stream  ) 

Returns current global index for the device being streamed.

Parameters:
stream The stream where the data is being requested.
Returns:
The index or -1 if fails.