---
name: "al_get_sample_instance_playing"
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_sample_instance_playing/3alleg5"
---

# al\_get\_sample\_instance\_playing(3alleg5)

Allegro 5 API

## NAME

al\_get\_sample\_instance\_playing - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)
  ```

## DESCRIPTION

Return true if the sample instance is in the playing state. This may be true even if the instance is not attached to anything.

## SEE ALSO

al\_set\_sample\_instance\_playing(3alleg5)
