HGE::Music_GetPos

Returns current position of a music in patterns and rows.

void Music_GetPos(
  HMUSIC music,
  int *order,
  int *row
);

Parameters

music
Handle of a music.
order
Pointer to an int to store the current order of the music to.
row
Pointer to an int to store the current row of the music to.

Remarks

Music_GetPos allows to retrieve music playback position in orders and rows. After Music_Play call you may also use Channel_GetPos to retrive playback position in seconds.

Requirements

Header: hge.h
Import library: hge.lib

See also

Music_GetLength, Music_SetPos