al_set_voice_position

bool al_set_voice_position(ALLEGRO_VOICE *voice, unsigned int val)
Introduced in 5.0.0

Set the voice position. This can only work if the voice has a non-streaming object attached to it, e.g. a sample.

Returns true on success, false on failure.

See also: al_get_voice_position.


Most helpful discussions: