---
name: "al_get_monitor_refresh_rate"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_monitor_refresh_rate"
---

# al\_get\_monitor\_refresh\_rate(3)

Allegro 5 API

## NAME

al\_get\_monitor\_refresh\_rate - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int al_get_monitor_refresh_rate(int adapter)
  ```

## DESCRIPTION

Returns the current refresh rate of a monitor attached to the display adapter.

## SINCE

5\.2.6

*\[Unstable API\]:* This is an experimental feature and currently only works on Windows.

## SEE ALSO

[al\_get\_monitor\_info(3)](/al_get_monitor_info/3.md)
