---
name: "voice_get_pan"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/voice_get_pan"
---

# voice\_get\_pan(3alleg)

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**(3alleg)](/voice_set_pan/3alleg.md)
