Defines | Functions

intf.c File Reference

Include dependency graph for intf.c:

Defines

#define findAout(o)   findAout(VLC_OBJECT(o))

Functions

static audio_output_tfindAout (vlc_object_t *obj)
static void prepareVolume (vlc_object_t *obj, audio_output_t **aoutp, audio_volume_t *volp, bool *mutep)
 Start a volume change transaction.
static int commitVolume (vlc_object_t *obj, audio_output_t *aout, audio_volume_t volume, bool mute)
 Commit a volume change transaction.
static void cancelVolume (vlc_object_t *obj, audio_output_t *aout)
 Cancel a volume change transaction.
audio_volume_t aout_VolumeGet (vlc_object_t *obj)
 Gets the volume of the output device (independent of mute).
int aout_VolumeSet (vlc_object_t *obj, audio_volume_t volume)
 Sets the volume of the output device.
int aout_VolumeUp (vlc_object_t *obj, int value, audio_volume_t *volp)
 Raises the volume.
int aout_ToggleMute (vlc_object_t *obj, audio_volume_t *volp)
 Toggles the mute state.
bool aout_IsMuted (vlc_object_t *obj)
 Gets the output mute status.
int aout_SetMute (vlc_object_t *obj, audio_volume_t *volp, bool mute)
 Sets mute status.
int aout_ChannelsRestart (vlc_object_t *p_this, const char *psz_variable, vlc_value_t oldval, vlc_value_t newval, void *p_data)
void aout_EnableFilter (vlc_object_t *p_this, const char *psz_name, bool b_add)
 Enable or disable an audio filter.

Define Documentation

#define findAout (   o  )     findAout(VLC_OBJECT(o))

Referenced by aout_EnableFilter(), and prepareVolume().


Function Documentation

int aout_ChannelsRestart ( vlc_object_t p_this,
const char *  psz_variable,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)

References aout_RequestRestart(), and var_Destroy.

Referenced by aout_OutputNew().

void aout_EnableFilter ( vlc_object_t p_this,
const char *  psz_name,
bool  b_add 
)

Enable or disable an audio filter.

Parameters:
p_this a vlc object
psz_name name of the filter
b_add are we adding or removing the filter ?

References aout_ChangeFilterString(), aout_InputRequestRestart(), findAout, VLC_OBJECT, and vlc_object_release.

bool aout_IsMuted ( vlc_object_t obj  ) 

Gets the output mute status.

References cancelVolume(), and prepareVolume().

int aout_SetMute ( vlc_object_t obj,
audio_volume_t volp,
bool  mute 
)

Sets mute status.

References commitVolume(), and prepareVolume().

int aout_ToggleMute ( vlc_object_t obj,
audio_volume_t volp 
)

Toggles the mute state.

References commitVolume(), and prepareVolume().

audio_volume_t aout_VolumeGet ( vlc_object_t obj  ) 

Gets the volume of the output device (independent of mute).

References cancelVolume(), and prepareVolume().

int aout_VolumeSet ( vlc_object_t obj,
audio_volume_t  volume 
)

Sets the volume of the output device.

The mute status is not changed.

References commitVolume(), and prepareVolume().

int aout_VolumeUp ( vlc_object_t obj,
int  value,
audio_volume_t volp 
)

Raises the volume.

Parameters:
value how much to increase (> 0) or decrease (< 0) the volume
volp if non-NULL, will contain contain the resulting volume

References AOUT_VOLUME_MAX, commitVolume(), prepareVolume(), and var_InheritInteger.

static void cancelVolume ( vlc_object_t obj,
audio_output_t aout 
) [static]

Cancel a volume change transaction.

References aout_unlock_volume(), and vlc_object_release.

Referenced by aout_IsMuted(), and aout_VolumeGet().

static int commitVolume ( vlc_object_t obj,
audio_output_t aout,
audio_volume_t  volume,
bool  mute 
) [static]
static audio_output_t* findAout ( vlc_object_t obj  )  [static]
static void prepareVolume ( vlc_object_t obj,
audio_output_t **  aoutp,
audio_volume_t volp,
bool *  mutep 
) [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines