---
name: "voice_get_pan"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/voice_get_pan/3alleg4"
---

# voice\_get\_pan(3alleg4)

Returns the current pan position. Allegro game programming library.

## NAME

voice\_get\_pan - Returns the current pan position. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int voice\_get\_pan(int voice);**

## DESCRIPTION

Returns the current pan position, from 0 (left) to 255 (right).

## SEE ALSO

**voice\_set\_pan**(3alleg4)
