---
name: "audio_prop"
section: "3"
platform: "linux"
package: "libxine-dev"
version: "0.9.8-2woody3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/audio_prop"
---

# audio\_prop(3)

## NAME

Constants for the get/set properties functions. -

### Defines

\#define **AO\_PROP\_MIXER\_VOL**   0\
 \#define **AO\_PROP\_PCM\_VOL**   1\
 \#define **AO\_PROP\_MUTE\_VOL**   2\

### Functions

int **xine\_get\_audio\_property** (**xine\_t** \*self, int property)\
 *Get audio driver property.* int **xine\_set\_audio\_property** (**xine\_t** \*self, int property, int value)\
 *Set audio driver property value.*

## DEFINE DOCUMENTATION

### #define AO\_PROP\_MIXER\_VOL 0

Mixer volume property.

**See also:**  **xine\_get\_audio\_property**(), **xine\_set\_audio\_property**()

### #define AO\_PROP\_MUTE\_VOL 2

Pcm volume property.

**See also:**  **xine\_get\_audio\_property**(), **xine\_set\_audio\_property**()

### #define AO\_PROP\_PCM\_VOL 1

Pcm volume property.

**See also:**  **xine\_get\_audio\_property**(), **xine\_set\_audio\_property**()

## FUNCTION DOCUMENTATION

### int xine\_get\_audio\_property (xine\_t \* self, int property)

Get audio driver property.

**Parameters:**

- *self*

  *Current xine engine configuration ( see* **xine\_init***() )*

- *property*

  *( see AO\_PROP\_\* )*

**Returns:**  *value of property.*

*Get audio property ( AO\_PROP\_\* ) value .*

**Parameters:**

- *self*

  - *property*

  ### int xine\_set\_audio\_property (xine\_t \* self, int property, int value)

*Set audio driver property value.*

**Parameters:**

- *self*

  *Current xine engine configuration ( see* **xine\_init***() )*

- *property*

  *( see AO\_PROP\_\* )*

- *value*

  *of property*

**Returns:**  *value on success, otherwise ~value.*

*Set audio property value ( AO\_PROP\_\* ). It will return value if operation is successfuly completed, and ~value on failure.*

**Parameters:**

- *self*

  - *property*

  - *value*
