---
name: "al_get_monitor_refresh_rate"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_monitor_refresh_rate/3alleg5"
---

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

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(3alleg5)
