HGE::Music_SetPos

Sets music position in patterns and rows.

void Music_SetPos(
  HMUSIC music,
  int order,
  int row
);

Parameters

music
Handle of a music.
order
Number of entry in music's patterns list (order).
row
Number of row in the specified pattern.

Remarks

Music_SetPos allows to set music playback position with order and row. After Music_Play call you may also use Channel_SetPos to set playback position in seconds.

Requirements

Header: hge.h
Import library: hge.lib

See also

Music_GetLength, Music_GetPos