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 re‐
15 turns zero.
16
17 Currently this can only be called on streams created with al_load_au‐
18 dio_stream(3), al_load_audio_stream_f(3) and the format-specific func‐
19 tions 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)