VlcControlAudio Class Reference

Audio control class. More...

#include <VLCQtWidgets/ControlAudio.h>

Signals

void actions (QList< QAction * > actions, const Vlc::ActionsType type)
 Signal sending actions for changing audio tracks. More...
 
void audioTracks (QList< QAction * > actions)
 Signal sending actions for changing audio tracks. More...
 

Public Member Functions

 VlcControlAudio (VlcMediaPlayer *player, const QString &language=0, QObject *parent=0)
 VlcControlAudio constructor. More...
 
 ~VlcControlAudio ()
 AudioControl destructor.
 
void reset ()
 Reset all settings and selected audio tracks. More...
 
void setDefaultAudioLanguage (const QString &language)
 Set default audio language. More...
 

Detailed Description

Audio control class.

This is one of VLC-Qt control classes. It provides audio tracks management.

Constructor & Destructor Documentation

VlcControlAudio::VlcControlAudio ( VlcMediaPlayer player,
const QString &  language = 0,
QObject *  parent = 0 
)
explicit

VlcControlAudio constructor.

Parameters
playermedia player
languagedefault audio language
parentaudio controller's parent object

Member Function Documentation

void VlcControlAudio::actions ( QList< QAction * >  actions,
const Vlc::ActionsType  type 
)
signal

Signal sending actions for changing audio tracks.

Parameters
actionslist of actions
typetype of actions
void VlcControlAudio::audioTracks ( QList< QAction * >  actions)
signal

Signal sending actions for changing audio tracks.

Parameters
actionslist of actions
void VlcControlAudio::reset ( )

Reset all settings and selected audio tracks.

Usually called on media change.

void VlcControlAudio::setDefaultAudioLanguage ( const QString &  language)

Set default audio language.

Parameters
languagecomma separated languages

The documentation for this class was generated from the following files: