1al_get_audio_stream_length_secs(3) al_get_audio_stream_length_secs(3)
2
3
4
6 al_get_audio_stream_length_secs - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream)
12
14 Return the length of the stream in seconds, if known. Otherwise
15 returns zero.
16
17 Currently this can only be called on streams created with
18 al_load_audio_stream(3), al_load_audio_stream_f(3) and the format-spe‐
19 cific functions underlying those functions.
20
22 al_get_audio_stream_position_secs(3)
23
24
25
26Allegro reference manual al_get_audio_stream_length_secs(3)