.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_audio_stream_length_secs" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_audio_stream_length_secs - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include double al_get_audio_stream_length_secs(ALLEGRO_AUDIO_STREAM *stream) \f[R] .fi .SH DESCRIPTION .PP Return the length of the stream in seconds, if known. Otherwise returns zero. .PP 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). .SH SEE ALSO .PP al_get_audio_stream_position_secs(3alleg5)