Scroll to navigation

al_get_audio_stream_position_secs(3) al_get_audio_stream_position_secs(3)

NAME

al_get_audio_stream_position_secs - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro_audio.h>
double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream)
    

DESCRIPTION

Return the position of the stream in seconds. Currently this can only be called on streams created with al_load_audio_stream(3), al_play_audio_stream(3), al_load_audio_stream_f(3) or al_play_audio_stream_f(3).

SEE ALSO

al_get_audio_stream_length_secs(3)

Allegro reference manual