logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_audio_stream_length_secs - Allegro 5 API

Description

       Return the length of the stream in seconds, if known.  Otherwise returns zero.

       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).

Name

       al_get_audio_stream_length_secs - Allegro 5 API

See Also

al_get_audio_stream_position_secs(3alleg5)

Allegro reference manual                                                al_get_audio_stream_length_secs(3alleg5)

Synopsis

              #include <allegro5/allegro_audio.h>

              double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream)

See Also