Scroll to navigation

al_seek_audio_stream_secs(3alleg5) al_seek_audio_stream_secs(3alleg5)

NAME

al_seek_audio_stream_secs - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro_audio.h>
bool al_seek_audio_stream_secs(ALLEGRO_AUDIO_STREAM *stream, double time)
    

DESCRIPTION

Set the streaming file playing position to time. Returns true on success. Currently this can only be called on streams created with al_load_audio_stream(3alleg5), al_play_audio_stream(3alleg5), al_load_audio_stream_f(3alleg5) or al_play_audio_stream_f(3alleg5).

SEE ALSO

al_get_audio_stream_position_secs(3alleg5), al_get_audio_stream_length_secs(3alleg5)

Allegro reference manual