XINE, A Free Video Player Project - API reference

Main Page Modules Data Structures File List Data Fields Globals

# 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 |