--- /srv/reproducible-results/rbuild-debian/r-b-build.UhUwnJVo/b1/allegro5_5.2.9.1+dfsg-2_arm64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.UhUwnJVo/b2/allegro5_5.2.9.1+dfsg-2_arm64.changes ├── Files │ @@ -1,9 +1,9 @@ │ │ - d1583c0e287f6d287bad71b310a8d720 1514248 doc optional allegro5-doc_5.2.9.1+dfsg-2_all.deb │ + b9bc61a2b054adc0e68c77b2c30cb524 1514104 doc optional allegro5-doc_5.2.9.1+dfsg-2_all.deb │ 6b00acf5f9eee09980ae3253a40edfc8 18612 libdevel optional liballegro-acodec5-dev_5.2.9.1+dfsg-2_arm64.deb │ 213fe56c577aa720ce3f772ada85a7d0 61920 debug optional liballegro-acodec5.2t64-dbgsym_5.2.9.1+dfsg-2_arm64.deb │ 4ef5ee93f79b6605555254aba46f4b4e 36540 libs optional liballegro-acodec5.2t64_5.2.9.1+dfsg-2_arm64.deb │ 487239f6fd08d199d31715ab1d1e644a 21416 libdevel optional liballegro-audio5-dev_5.2.9.1+dfsg-2_arm64.deb │ 66b0f23be40e9912e258dce351b1c133 106744 debug optional liballegro-audio5.2t64-dbgsym_5.2.9.1+dfsg-2_arm64.deb │ 2b83aa8e3268acf78be727e295e16098 56256 libs optional liballegro-audio5.2t64_5.2.9.1+dfsg-2_arm64.deb │ 9f846c7116745f5fec3095fc8a1bb437 19656 libdevel optional liballegro-dialog5-dev_5.2.9.1+dfsg-2_arm64.deb ├── allegro5-doc_5.2.9.1+dfsg-2_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2024-05-03 10:28:35.000000 debian-binary │ │ --rw-r--r-- 0 0 0 31592 2024-05-03 10:28:35.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 1482464 2024-05-03 10:28:35.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 31576 2024-05-03 10:28:35.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 1482336 2024-05-03 10:28:35.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./control │ │ │ │ @@ -1,13 +1,13 @@ │ │ │ │ Package: allegro5-doc │ │ │ │ Source: allegro5 │ │ │ │ Version: 2:5.2.9.1+dfsg-2 │ │ │ │ Architecture: all │ │ │ │ Maintainer: Debian Games Team │ │ │ │ -Installed-Size: 5613 │ │ │ │ +Installed-Size: 5610 │ │ │ │ Depends: fonts-dejavu-core │ │ │ │ Section: doc │ │ │ │ Priority: optional │ │ │ │ Multi-Arch: foreign │ │ │ │ Homepage: https://liballeg.org/ │ │ │ │ Description: documentation for the Allegro 5 library │ │ │ │ This package contains the Allegro documentation in various formats, │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -199,24 +199,24 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2660 2024-01-20 03:16:21.000000 ./usr/share/doc/allegro5-doc/examples/ex_window_title.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6446 2024-01-20 03:16:21.000000 ./usr/share/doc/allegro5-doc/examples/ex_windows.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1674 2024-01-20 03:16:21.000000 ./usr/share/doc/allegro5-doc/examples/ex_winfull.c │ │ │ │ -rw-r--r-- 0 root (0) root (0) 19521 2024-01-20 03:16:21.000000 ./usr/share/doc/allegro5-doc/examples/nihgui.cpp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6456 2024-01-20 03:16:21.000000 ./usr/share/doc/allegro5-doc/examples/nihgui.hpp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 11758 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/acodec.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 232225 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 232156 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 36350 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/autosuggest.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 67035 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/color.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 37764 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/config.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 17688 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/direct3d.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 85601 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/display.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 81409 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/events.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 62284 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/file.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 56628 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/fixed.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 95325 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/font.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 94545 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/font.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 42345 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/fshook.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13464 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 17054 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/getting_started.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 223401 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/graphics.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 69756 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/haptic.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 12399 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/image.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/images/ │ │ │ │ @@ -237,26 +237,26 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 41675 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/mouse.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 78236 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/native_dialog.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 27209 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/opengl.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3973 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/pandoc.css │ │ │ │ -rw-r--r-- 0 root (0) root (0) 38095 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/path.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 11830 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/physfs.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 26593 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/platform.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 145994 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/primitives.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 145878 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/primitives.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 72016 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/search_index.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 45807 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 45896 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 15847 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/state.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 70981 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/system.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 35428 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/threads.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 12632 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/time.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 26591 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/timer.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 22243 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/touch.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 82505 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 103138 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 31871 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 82510 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 103227 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 29974 2024-05-03 10:28:35.000000 ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-05-03 10:28:35.000000 ./usr/share/doc-base/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 300 2024-03-20 15:11:29.000000 ./usr/share/doc-base/allegro5-doc.allegro5 │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-05-03 10:28:35.000000 ./usr/share/man/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2024-05-03 10:28:35.000000 ./usr/share/man/man3/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 533 2024-05-03 10:28:35.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 381 2024-05-03 10:28:35.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_DEVICE.3alleg5.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 683 2024-05-03 10:28:35.000000 ./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ │ @@ -652,17 +652,17 @@ │ │ │ │ href="audio.html#al_set_default_mixer">al_set_default_mixer, al_play_sample

│ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_play_sample

│ │ │ │
bool al_play_sample(ALLEGRO_SAMPLE *spl, float gain, float pan, float speed,
│ │ │ │     ALLEGRO_PLAYMODE loop, ALLEGRO_SAMPLE_ID *ret_id)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │ @@ -1745,15 +1745,15 @@ │ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_create_audio_stream

│ │ │ │
ALLEGRO_AUDIO_STREAM *al_create_audio_stream(size_t fragment_count,
│ │ │ │     unsigned int frag_samples, unsigned int freq, ALLEGRO_AUDIO_DEPTH depth,
│ │ │ │     ALLEGRO_CHANNEL_CONF chan_conf)
│ │ │ │

Source │ │ │ │ @@ -1808,17 +1808,17 @@ │ │ │ │ before the audio system is shut down.

│ │ │ │ │ │ │ │

Examples:

│ │ │ │
│ │ │ │

al_load_audio_stream

│ │ │ │
ALLEGRO_AUDIO_STREAM *al_load_audio_stream(const char *filename,
│ │ │ │     size_t buffer_count, unsigned int samples)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │ @@ -1899,15 +1899,15 @@ │ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_get_audio_stream_event_source

│ │ │ │
ALLEGRO_EVENT_SOURCE *al_get_audio_stream_event_source(
│ │ │ │     ALLEGRO_AUDIO_STREAM *stream)
│ │ │ │

Source │ │ │ │ @@ -1921,15 +1921,15 @@ │ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_drain_audio_stream

│ │ │ │
void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │

You should call this to finalise an audio stream that you will no │ │ │ │ @@ -2219,17 +2219,17 @@ │ │ │ │ al_get_audio_stream_length

│ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_set_audio_stream_fragment

│ │ │ │
bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │

This function needs to be called for every successful call of See also: al_get_audio_stream_fragment

│ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_get_audio_stream_fragments

│ │ │ │
unsigned int al_get_audio_stream_fragments(const ALLEGRO_AUDIO_STREAM *stream)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │ @@ -3187,17 +3187,17 @@ │ │ │ │ href="audio.html#al_set_default_mixer">al_set_default_mixer, al_restore_default_mixer

│ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_set_default_mixer

│ │ │ │
bool al_set_default_mixer(ALLEGRO_MIXER *mixer)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │ @@ -3314,15 +3314,15 @@ │ │ │ │

Examples:

│ │ │ │ │ │ │ │

al_get_mixer_frequency

│ │ │ │
unsigned int al_get_mixer_frequency(const ALLEGRO_MIXER *mixer)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │ @@ -3514,18 +3514,18 @@ │ │ │ │
│ │ │ │

Note: The callback is called from a dedicated audio │ │ │ │ thread.

│ │ │ │
│ │ │ │

Examples:

│ │ │ │ │ │ │ │

Miscelaneous

│ │ │ │

ALLEGRO_AUDIO_DEPTH

│ │ │ │
enum ALLEGRO_AUDIO_DEPTH
│ │ │ │

│ │ │ │

Call this after al_init_font_addon to make al_load_font recognize “.ttf” and │ │ │ │ other formats supported by al_load_ttf_font.

│ │ │ │

Returns true on success, false on failure.

│ │ │ │ -

Examples:

│ │ │ │ - │ │ │ │

al_is_ttf_addon_initialized

│ │ │ │
bool al_is_ttf_addon_initialized(void)
│ │ │ │

Source │ │ │ │ Code

│ │ │ │

Returns true if the TTF addon is initialized, otherwise returns │ │ │ │ false.

│ │ │ │ @@ -1358,23 +1349,14 @@ │ │ │ │
  • ALLEGRO_TTF_NO_AUTOHINT - Disable the Auto Hinter which is │ │ │ │ enabled by default in newer versions of FreeType. Since: 5.0.6, │ │ │ │ 5.1.2

  • │ │ │ │ │ │ │ │

    See also: al_init_ttf_addon, al_load_ttf_font_f

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_load_ttf_font_f

    │ │ │ │
    ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file,
    │ │ │ │      char const *filename, int size, int flags)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_load_ttf_font, but │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -744,18 +744,14 @@ │ │ │ │ │ #include │ │ │ │ │ ********** aall__iinniitt__ttttff__aaddddoonn ********** │ │ │ │ │ bool al_init_ttf_addon(void) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Call this after _a_l___i_n_i_t___f_o_n_t___a_d_d_o_n to make _a_l___l_o_a_d___f_o_n_t recognize “.ttf” and │ │ │ │ │ other formats supported by _a_l___l_o_a_d___t_t_f___f_o_n_t. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___f_o_n_t___j_u_s_t_i_f_y_._c_p_p │ │ │ │ │ - * _e_x___f_o_n_t___m_u_l_t_i_l_i_n_e_._c_p_p │ │ │ │ │ - * _e_x___c_o_l_o_r_._c_p_p │ │ │ │ │ ********** aall__iiss__ttttff__aaddddoonn__iinniittiiaalliizzeedd ********** │ │ │ │ │ bool al_is_ttf_addon_initialized(void) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns true if the TTF addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ See also: _a_l___i_n_i_t___t_t_f___a_d_d_o_n, _a_l___s_h_u_t_d_o_w_n___t_t_f___a_d_d_o_n │ │ │ │ │ ********** aall__sshhuuttddoowwnn__ttttff__aaddddoonn ********** │ │ │ │ │ @@ -778,18 +774,14 @@ │ │ │ │ │ * ALLEGRO_TTF_NO_KERNING - Do not use any kerning even if the font file │ │ │ │ │ supports it. │ │ │ │ │ * ALLEGRO_TTF_MONOCHROME - Load as a monochrome font (which means no anti- │ │ │ │ │ aliasing of the font is done). │ │ │ │ │ * ALLEGRO_TTF_NO_AUTOHINT - Disable the Auto Hinter which is enabled by │ │ │ │ │ default in newer versions of FreeType. Since: 5.0.6, 5.1.2 │ │ │ │ │ See also: _a_l___i_n_i_t___t_t_f___a_d_d_o_n, _a_l___l_o_a_d___t_t_f___f_o_n_t___f │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___b_i_t_m_a_p___f_l_i_p_._c │ │ │ │ │ - * _e_x___s_y_n_t_h_._c_p_p │ │ │ │ │ - * _e_x___a_u_d_i_o___c_h_a_i_n_._c_p_p │ │ │ │ │ ********** aall__llooaadd__ttttff__ffoonntt__ff ********** │ │ │ │ │ ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file, │ │ │ │ │ char const *filename, int size, int flags) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Like _a_l___l_o_a_d___t_t_f___f_o_n_t, but the font is read from the file handle. The filename │ │ │ │ │ is only used to find possible additional files next to a font file. │ │ │ │ │ NNoottee:: The file handle is owned by the returned ALLEGRO_FONT object │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/monitor.html │ │ │ │┄ Ordering differences only │ │ │ │ @@ -211,17 +211,17 @@ │ │ │ │

    See also: al_get_monitor_info

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_new_display_adapter

    │ │ │ │
    int al_get_new_display_adapter(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Gets the video adapter index where new displays will be created by │ │ │ │ @@ -272,17 +272,17 @@ │ │ │ │ href="monitor.html#allegro_monitor_info">ALLEGRO_MONITOR_INFO, al_get_num_video_adapters

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_get_monitor_dpi

    │ │ │ │
    int al_get_monitor_dpi(int adapter)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get the dots per inch of a monitor attached to the display │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -66,16 +66,16 @@ │ │ │ │ │ int y1; │ │ │ │ │ int x2; │ │ │ │ │ int y2; │ │ │ │ │ } ALLEGRO_MONITOR_INFO; │ │ │ │ │ See also: _a_l___g_e_t___m_o_n_i_t_o_r___i_n_f_o │ │ │ │ │ Examples: │ │ │ │ │ * _e_x___m_o_n_i_t_o_r_i_n_f_o_._c │ │ │ │ │ - * _e_x___w_i_n_d_o_w_s_._c │ │ │ │ │ * _e_x___d_r_a_g___a_n_d___d_r_o_p_._c │ │ │ │ │ + * _e_x___w_i_n_d_o_w_s_._c │ │ │ │ │ ************ aall__ggeett__nneeww__ddiissppllaayy__aaddaapptteerr ************ │ │ │ │ │ int al_get_new_display_adapter(void) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Gets the video adapter index where new displays will be created by the calling │ │ │ │ │ thread, if previously set with _a_l___s_e_t___n_e_w___d_i_s_p_l_a_y___a_d_a_p_t_e_r. Otherwise returns │ │ │ │ │ ALLEGRO_DEFAULT_DISPLAY_ADAPTER. │ │ │ │ │ See also: _a_l___s_e_t___n_e_w___d_i_s_p_l_a_y___a_d_a_p_t_e_r │ │ │ │ │ @@ -98,16 +98,16 @@ │ │ │ │ │ from 0 to al_get_num_video_adapters()-1. │ │ │ │ │ On Windows, use _a_l___s_e_t___n_e_w___d_i_s_p_l_a_y___f_l_a_g_s to switch between Direct3D and OpenGL │ │ │ │ │ backends, which will often have different adapters available. │ │ │ │ │ Returns true on success, false on failure. │ │ │ │ │ See also: _A_L_L_E_G_R_O___M_O_N_I_T_O_R___I_N_F_O, _a_l___g_e_t___n_u_m___v_i_d_e_o___a_d_a_p_t_e_r_s │ │ │ │ │ Examples: │ │ │ │ │ * _e_x___m_o_n_i_t_o_r_i_n_f_o_._c │ │ │ │ │ - * _e_x___w_i_n_d_o_w_s_._c │ │ │ │ │ * _e_x___d_r_a_g___a_n_d___d_r_o_p_._c │ │ │ │ │ + * _e_x___w_i_n_d_o_w_s_._c │ │ │ │ │ ************ aall__ggeett__mmoonniittoorr__ddppii ************ │ │ │ │ │ int al_get_monitor_dpi(int adapter) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Get the dots per inch of a monitor attached to the display adapter. │ │ │ │ │ Since: 5.2.5 │ │ │ │ │ See also: _a_l___g_e_t___n_u_m___v_i_d_e_o___a_d_a_p_t_e_r_s │ │ │ │ │ Examples: │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/mouse.html │ │ │ │┄ Ordering differences only │ │ │ │ @@ -271,17 +271,17 @@ │ │ │ │

    Returns true if successful. If a driver was already installed, │ │ │ │ nothing happens and true is returned.

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_is_mouse_installed

    │ │ │ │
    bool al_is_mouse_installed(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if See also: al_draw_filled_rectangle, │ │ │ │ al_draw_rounded_rectangle

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_draw_filled_rectangle

    │ │ │ │
    void al_draw_filled_rectangle(float x1, float y1, float x2, float y2,
    │ │ │ │     ALLEGRO_COLOR color)
    │ │ │ │

    Source │ │ │ │ @@ -611,17 +611,17 @@ │ │ │ │ href="primitives.html#al_draw_filled_rounded_rectangle">al_draw_filled_rounded_rectangle, │ │ │ │ al_draw_rectangle

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_draw_filled_rounded_rectangle

    │ │ │ │
    void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2,
    │ │ │ │     float rx, float ry, ALLEGRO_COLOR color)
    │ │ │ │

    Source │ │ │ │ @@ -637,19 +637,19 @@ │ │ │ │

    See also: al_draw_rounded_rectangle, │ │ │ │ al_draw_filled_rectangle

    │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_calculate_arc

    │ │ │ │
    void al_calculate_arc(float* dest, int stride, float cx, float cy,
    │ │ │ │     float rx, float ry, float start_theta, float delta_theta, float thickness,
    │ │ │ │     int num_points)
    │ │ │ │

    Source │ │ │ │ @@ -1188,19 +1188,14 @@ │ │ │ │ │ │ │ │

    Returns: Number of primitives drawn

    │ │ │ │

    Since: 5.1.8

    │ │ │ │

    See also: ALLEGRO_VERTEX_BUFFER, │ │ │ │ ALLEGRO_INDEX_BUFFER, │ │ │ │ ALLEGRO_PRIM_TYPE

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_draw_soft_triangle

    │ │ │ │
    void al_draw_soft_triangle(
    │ │ │ │     ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state,
    │ │ │ │     void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*),
    │ │ │ │     void (*first)(uintptr_t, int, int, int, int),
    │ │ │ │     void (*step)(uintptr_t, int),
    │ │ │ │     void (*draw)(uintptr_t, int, int, int))
    │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -267,16 +267,16 @@ │ │ │ │ │ Draws an outlined rectangle. │ │ │ │ │ PPaarraammeetteerrss:: │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ * thickness - Thickness of the lines, pass <= 0 to draw hairline lines │ │ │ │ │ See also: _a_l___d_r_a_w___f_i_l_l_e_d___r_e_c_t_a_n_g_l_e, _a_l___d_r_a_w___r_o_u_n_d_e_d___r_e_c_t_a_n_g_l_e │ │ │ │ │ Examples: │ │ │ │ │ - * _e_x___m_o_u_s_e_._c │ │ │ │ │ * _e_x___f_o_n_t___j_u_s_t_i_f_y_._c_p_p │ │ │ │ │ + * _e_x___m_o_u_s_e_._c │ │ │ │ │ * _e_x___s_u_b_b_i_t_m_a_p_._c │ │ │ │ │ ********** aall__ddrraaww__ffiilllleedd__rreeccttaannggllee ********** │ │ │ │ │ void al_draw_filled_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ ALLEGRO_COLOR color) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Draws a filled rectangle. │ │ │ │ │ PPaarraammeetteerrss:: │ │ │ │ │ @@ -296,30 +296,30 @@ │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ * rx, ry - The radii of the round │ │ │ │ │ * thickness - Thickness of the lines, pass <= 0 to draw hairline lines │ │ │ │ │ See also: _a_l___d_r_a_w___f_i_l_l_e_d___r_o_u_n_d_e_d___r_e_c_t_a_n_g_l_e, _a_l___d_r_a_w___r_e_c_t_a_n_g_l_e │ │ │ │ │ Examples: │ │ │ │ │ * _e_x___t_h_r_e_a_d_s_._c │ │ │ │ │ - * _e_x___p_r_i_m_._c │ │ │ │ │ * _e_x___a_u_d_i_o___c_h_a_i_n_._c_p_p │ │ │ │ │ + * _e_x___p_r_i_m_._c │ │ │ │ │ ********** aall__ddrraaww__ffiilllleedd__rroouunnddeedd__rreeccttaannggllee ********** │ │ │ │ │ void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2, │ │ │ │ │ float rx, float ry, ALLEGRO_COLOR color) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Draws an filled rounded rectangle. │ │ │ │ │ PPaarraammeetteerrss:: │ │ │ │ │ * x1, y1, x2, y2 - Upper left and lower right points of the rectangle │ │ │ │ │ * color - Color of the rectangle │ │ │ │ │ * rx, ry - The radii of the round │ │ │ │ │ See also: _a_l___d_r_a_w___r_o_u_n_d_e_d___r_e_c_t_a_n_g_l_e, _a_l___d_r_a_w___f_i_l_l_e_d___r_e_c_t_a_n_g_l_e │ │ │ │ │ Examples: │ │ │ │ │ - * _e_x___t_h_r_e_a_d_s_._c │ │ │ │ │ * _e_x___v_i_d_e_o_._c │ │ │ │ │ - * _e_x___p_r_i_m_._c │ │ │ │ │ + * _e_x___t_h_r_e_a_d_s_._c │ │ │ │ │ + * _e_x___a_u_d_i_o___c_h_a_i_n_._c_p_p │ │ │ │ │ ********** aall__ccaallccuullaattee__aarrcc ********** │ │ │ │ │ void al_calculate_arc(float* dest, int stride, float cx, float cy, │ │ │ │ │ float rx, float ry, float start_theta, float delta_theta, float thickness, │ │ │ │ │ int num_points) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ When thickness <= 0 this function computes positions of num_points regularly │ │ │ │ │ spaced points on an elliptical arc. When thickness > 0 this function computes │ │ │ │ │ @@ -676,16 +676,14 @@ │ │ │ │ │ * end - One past the last index of the subset of the vertex buffer to draw │ │ │ │ │ * type - A member of the _A_L_L_E_G_R_O___P_R_I_M___T_Y_P_E enumeration, specifying what │ │ │ │ │ kind of primitive to draw. Note that ALLEGRO_PRIM_LINE_LOOP and │ │ │ │ │ ALLEGRO_PRIM_POINT_LIST are not supported. │ │ │ │ │ RReettuurrnnss:: Number of primitives drawn │ │ │ │ │ Since: 5.1.8 │ │ │ │ │ See also: _A_L_L_E_G_R_O___V_E_R_T_E_X___B_U_F_F_E_R, _A_L_L_E_G_R_O___I_N_D_E_X___B_U_F_F_E_R, _A_L_L_E_G_R_O___P_R_I_M___T_Y_P_E │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___p_r_i_m_._c │ │ │ │ │ ********** aall__ddrraaww__ssoofftt__ttrriiaannggllee ********** │ │ │ │ │ void al_draw_soft_triangle( │ │ │ │ │ ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state, │ │ │ │ │ void (*init)(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*), │ │ │ │ │ void (*first)(uintptr_t, int, int, int, int), │ │ │ │ │ void (*step)(uintptr_t, int), │ │ │ │ │ void (*draw)(uintptr_t, int, int, int)) │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ │ @@ -816,11 +816,14 @@ │ │ │ │
  • ex_shader_multitex.c
  • │ │ │ │
  • ex_palette.c
  • │ │ │ │
  • ex_prim_wrap.c
  • │ │ │ │ │ │ │ │ - │ │ │ │ +

    │ │ │ │ +Allegro version 5.2.9 │ │ │ │ + - Last updated: 2024-05-03 10:28:35 UTC │ │ │ │ +

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -429,7 +429,8 @@ │ │ │ │ │ the selected platform. │ │ │ │ │ Since: 5.1.6 │ │ │ │ │ See also: _a_l___a_t_t_a_c_h___s_h_a_d_e_r___s_o_u_r_c_e │ │ │ │ │ Examples: │ │ │ │ │ * _e_x___s_h_a_d_e_r___m_u_l_t_i_t_e_x_._c │ │ │ │ │ * _e_x___p_a_l_e_t_t_e_._c │ │ │ │ │ * _e_x___p_r_i_m___w_r_a_p_._c │ │ │ │ │ +Allegro version 5.2.9 - Last updated: 2024-05-03 10:28:35 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ │ @@ -689,15 +689,15 @@ │ │ │ │

    Examples:

    │ │ │ │ │ │ │ │

    al_rotate_transform

    │ │ │ │
    void al_rotate_transform(ALLEGRO_TRANSFORM *trans, float theta)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Apply a rotation to a transformation.

    │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -374,15 +374,15 @@ │ │ │ │ │ PPaarraammeetteerrss:: │ │ │ │ │ * trans - Transformation to alter │ │ │ │ │ * x, y - Translation │ │ │ │ │ See also: _a_l___r_o_t_a_t_e___t_r_a_n_s_f_o_r_m, _a_l___s_c_a_l_e___t_r_a_n_s_f_o_r_m, _a_l___b_u_i_l_d___t_r_a_n_s_f_o_r_m │ │ │ │ │ Examples: │ │ │ │ │ * _e_x___s_h_a_d_e_r_._c_p_p │ │ │ │ │ * _e_x___s_h_a_d_e_r___t_a_r_g_e_t_._c │ │ │ │ │ - * _e_x___p_o_l_y_g_o_n_._c │ │ │ │ │ + * _e_x___d_e_p_t_h___m_a_s_k_._c │ │ │ │ │ ************ aall__rroottaattee__ttrraannssffoorrmm ************ │ │ │ │ │ void al_rotate_transform(ALLEGRO_TRANSFORM *trans, float theta) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Apply a rotation to a transformation. │ │ │ │ │ PPaarraammeetteerrss:: │ │ │ │ │ * trans - Transformation to alter │ │ │ │ │ * theta - Rotation angle in radians │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ │ @@ -1687,11 +1687,14 @@ │ │ │ │ s. The buffer must have enough space to hold the encoding, │ │ │ │ which takes either 2 or 4 bytes. This routine will refuse to encode code │ │ │ │ points above 0x10FFFF.

    │ │ │ │

    Returns the number of bytes written, which is the same as that │ │ │ │ returned by al_utf16_width.

    │ │ │ │

    See also: al_utf8_encode, al_ustr_encode_utf16

    │ │ │ │ - │ │ │ │ +

    │ │ │ │ +Allegro version 5.2.9 │ │ │ │ + - Last updated: 2024-05-03 10:28:35 UTC │ │ │ │ +

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -910,7 +910,8 @@ │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Encode the specified code point to UTF-16 into the buffer s. The buffer must │ │ │ │ │ have enough space to hold the encoding, which takes either 2 or 4 bytes. This │ │ │ │ │ routine will refuse to encode code points above 0x10FFFF. │ │ │ │ │ Returns the number of bytes written, which is the same as that returned by │ │ │ │ │ _a_l___u_t_f_1_6___w_i_d_t_h. │ │ │ │ │ See also: _a_l___u_t_f_8___e_n_c_o_d_e, _a_l___u_s_t_r___e_n_c_o_d_e___u_t_f_1_6 │ │ │ │ │ +Allegro version 5.2.9 - Last updated: 2024-05-03 10:28:35 UTC │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ │ @@ -290,19 +290,14 @@ │ │ │ │

    al_init_video_addon

    │ │ │ │
    bool al_init_video_addon(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Initializes the video addon.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_is_video_addon_initialized

    │ │ │ │
    bool al_is_video_addon_initialized(void)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the video addon is initialized, otherwise returns │ │ │ │ @@ -328,19 +323,14 @@ │ │ │ │

    ALLEGRO_VIDEO *al_open_video(char const *filename)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Reads a video file. This does not start streaming yet but reads the │ │ │ │ meta info so you can query e.g. the size or audio rate.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_identify_video

    │ │ │ │
    char const *al_identify_video(char const *filename)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    This works exactly as al_identify_video_f but you │ │ │ │ @@ -372,31 +362,21 @@ │ │ │ │

    void al_close_video(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Closes the video and frees all allocated resources. The video pointer │ │ │ │ is invalid after the function returns.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_start_video

    │ │ │ │
    void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Starts streaming the video from the beginning.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_start_video_with_voice

    │ │ │ │
    void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Like al_start_video but audio │ │ │ │ is routed to the provided voice.

    │ │ │ │ @@ -406,100 +386,65 @@ │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Get an event source for the video. The possible events are described │ │ │ │ under ALLEGRO_VIDEO_EVENT_TYPE.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_set_video_playing

    │ │ │ │
    void al_set_video_playing(ALLEGRO_VIDEO *video, bool play)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Paused or resumes playback.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_is_video_playing

    │ │ │ │
    bool al_is_video_playing(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns true if the video is currently playing.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_get_video_audio_rate

    │ │ │ │
    double al_get_video_audio_rate(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the audio rate of the video, in Hz.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_get_video_fps

    │ │ │ │
    double al_get_video_fps(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the speed of the video in frames per second. Often this will │ │ │ │ not be an integer value.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_get_video_scaled_width

    │ │ │ │
    float al_get_video_scaled_width(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the width with which the video frame should be drawn. Videos │ │ │ │ often do not use square pixels, so this will may return a value larger │ │ │ │ than the width of the frame bitmap.

    │ │ │ │

    Since: 5.1.12

    │ │ │ │

    See also: al_get_video_frame

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_get_video_scaled_height

    │ │ │ │
    float al_get_video_scaled_height(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the height with which the video frame should be drawn. Videos │ │ │ │ often do not use square pixels, so this will may return a value larger │ │ │ │ than the height of the frame bitmap.

    │ │ │ │

    See also: al_get_video_frame

    │ │ │ │

    Since: 5.1.12

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_get_video_frame

    │ │ │ │
    ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the current video frame. The bitmap is owned by the video so │ │ │ │ do not attempt to free it. The bitmap will stay valid until the next │ │ │ │ @@ -514,47 +459,32 @@ │ │ │ │ float dh = scale * al_get_video_scaled_height(video); │ │ │ │ al_draw_scaled_bitmap(frame, 0, 0, sw, sh, 0, 0, dw, dh, 0); │ │ │ │

    Since: 5.1.0

    │ │ │ │

    See also: al_get_video_scaled_width, │ │ │ │ al_get_video_scaled_height

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_get_video_position

    │ │ │ │
    double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Returns the current position of the video stream in seconds since the │ │ │ │ beginning. The parameter is one of the ALLEGRO_VIDEO_POSITION_TYPE │ │ │ │ constants.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    al_seek_video

    │ │ │ │
    bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)
    │ │ │ │

    Source │ │ │ │ Code

    │ │ │ │

    Seek to a different position in the video. Currently only seeking to │ │ │ │ the beginning of the video is supported.

    │ │ │ │

    Since: 5.1.0

    │ │ │ │ -

    Examples:

    │ │ │ │ - │ │ │ │

    │ │ │ │ Allegro version 5.2.9 │ │ │ │ - Last updated: 2024-05-03 10:28:35 UTC │ │ │ │

    │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -109,16 +109,14 @@ │ │ │ │ │ in sync. │ │ │ │ │ Since: 5.1.11 │ │ │ │ │ ************ aall__iinniitt__vviiddeeoo__aaddddoonn ************ │ │ │ │ │ bool al_init_video_addon(void) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Initializes the video addon. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__iiss__vviiddeeoo__aaddddoonn__iinniittiiaalliizzeedd ************ │ │ │ │ │ bool al_is_video_addon_initialized(void) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns true if the video addon is initialized, otherwise returns false. │ │ │ │ │ Since: 5.2.6 │ │ │ │ │ ************ aall__sshhuuttddoowwnn__vviiddeeoo__aaddddoonn ************ │ │ │ │ │ void al_shutdown_video_addon(void) │ │ │ │ │ @@ -134,16 +132,14 @@ │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ ************ aall__ooppeenn__vviiddeeoo ************ │ │ │ │ │ ALLEGRO_VIDEO *al_open_video(char const *filename) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Reads a video file. This does not start streaming yet but reads the meta info │ │ │ │ │ so you can query e.g. the size or audio rate. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__iiddeennttiiffyy__vviiddeeoo ************ │ │ │ │ │ char const *al_identify_video(char const *filename) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ This works exactly as _a_l___i_d_e_n_t_i_f_y___v_i_d_e_o___f but you specify the filename of the │ │ │ │ │ file for which to detect the type and not a file handle. The extension, if any, │ │ │ │ │ of the passed filename is not taken into account - only the file contents. │ │ │ │ │ Since: 5.2.8 │ │ │ │ │ @@ -161,85 +157,67 @@ │ │ │ │ │ See also: _a_l___i_n_i_t___v_i_d_e_o___a_d_d_o_n, _a_l___i_d_e_n_t_i_f_y___v_i_d_e_o │ │ │ │ │ ************ aall__cclloossee__vviiddeeoo ************ │ │ │ │ │ void al_close_video(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Closes the video and frees all allocated resources. The video pointer is │ │ │ │ │ invalid after the function returns. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ssttaarrtt__vviiddeeoo ************ │ │ │ │ │ void al_start_video(ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Starts streaming the video from the beginning. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ssttaarrtt__vviiddeeoo__wwiitthh__vvooiiccee ************ │ │ │ │ │ void al_start_video_with_voice(ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Like _a_l___s_t_a_r_t___v_i_d_e_o but audio is routed to the provided voice. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__eevveenntt__ssoouurrccee ************ │ │ │ │ │ ALLEGRO_EVENT_SOURCE *al_get_video_event_source(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Get an event source for the video. The possible events are described under │ │ │ │ │ _A_L_L_E_G_R_O___V_I_D_E_O___E_V_E_N_T___T_Y_P_E. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__sseett__vviiddeeoo__ppllaayyiinngg ************ │ │ │ │ │ void al_set_video_playing(ALLEGRO_VIDEO *video, bool play) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Paused or resumes playback. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__iiss__vviiddeeoo__ppllaayyiinngg ************ │ │ │ │ │ bool al_is_video_playing(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns true if the video is currently playing. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__aauuddiioo__rraattee ************ │ │ │ │ │ double al_get_video_audio_rate(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns the audio rate of the video, in Hz. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__ffppss ************ │ │ │ │ │ double al_get_video_fps(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns the speed of the video in frames per second. Often this will not be an │ │ │ │ │ integer value. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__ssccaalleedd__wwiiddtthh ************ │ │ │ │ │ float al_get_video_scaled_width(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns the width with which the video frame should be drawn. Videos often do │ │ │ │ │ not use square pixels, so this will may return a value larger than the width of │ │ │ │ │ the frame bitmap. │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ See also: _a_l___g_e_t___v_i_d_e_o___f_r_a_m_e │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__ssccaalleedd__hheeiigghhtt ************ │ │ │ │ │ float al_get_video_scaled_height(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns the height with which the video frame should be drawn. Videos often do │ │ │ │ │ not use square pixels, so this will may return a value larger than the height │ │ │ │ │ of the frame bitmap. │ │ │ │ │ See also: _a_l___g_e_t___v_i_d_e_o___f_r_a_m_e │ │ │ │ │ Since: 5.1.12 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__ffrraammee ************ │ │ │ │ │ ALLEGRO_BITMAP *al_get_video_frame(ALLEGRO_VIDEO *video) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns the current video frame. The bitmap is owned by the video so do not │ │ │ │ │ attempt to free it. The bitmap will stay valid until the next call to │ │ │ │ │ al_get_video_frame. │ │ │ │ │ Videos often do not use square pixels so the recommended way to draw a video │ │ │ │ │ @@ -249,27 +227,21 @@ │ │ │ │ │ float sw = al_get_bitmap_width(frame); │ │ │ │ │ float sh = al_get_bitmap_height(frame); │ │ │ │ │ float dw = scale * al_get_video_scaled_width(video); │ │ │ │ │ float dh = scale * al_get_video_scaled_height(video); │ │ │ │ │ al_draw_scaled_bitmap(frame, 0, 0, sw, sh, 0, 0, dw, dh, 0); │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ See also: _a_l___g_e_t___v_i_d_e_o___s_c_a_l_e_d___w_i_d_t_h, _a_l___g_e_t___v_i_d_e_o___s_c_a_l_e_d___h_e_i_g_h_t │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__ggeett__vviiddeeoo__ppoossiittiioonn ************ │ │ │ │ │ double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE │ │ │ │ │ which) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Returns the current position of the video stream in seconds since the │ │ │ │ │ beginning. The parameter is one of the _A_L_L_E_G_R_O___V_I_D_E_O___P_O_S_I_T_I_O_N___T_Y_P_E constants. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ ************ aall__sseeeekk__vviiddeeoo ************ │ │ │ │ │ bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds) │ │ │ │ │ _S_o_u_r_c_e_ _C_o_d_e │ │ │ │ │ Seek to a different position in the video. Currently only seeking to the │ │ │ │ │ beginning of the video is supported. │ │ │ │ │ Since: 5.1.0 │ │ │ │ │ -Examples: │ │ │ │ │ - * _e_x___v_i_d_e_o_._c │ │ │ │ │ Allegro version 5.2.9 - Last updated: 2024-05-03 10:28:35 UTC