![]() |
VLC-Qt 0.8.0- (Different version)
|
Audio control class. More...
Signals | |
void | actions (QList< QAction * >, const Vlc::ActionsType) |
Signal sending actions for changing audio tracks. | |
void | audioTracks (QList< QAction * >) |
Signal sending actions for changing audio tracks. | |
Public Member Functions | |
VlcControlAudio (VlcMediaPlayer *player, const QString &language=0, QObject *parent=0) | |
VlcControlAudio constructor. | |
~VlcControlAudio () | |
AudioControl destructor. | |
void | reset () |
Reset all settings and selected audio tracks. | |
void | setDefaultAudioLanguage (const QString &language) |
Set default audio language. |
Audio control class.
This is one of VLC-Qt control classes. It provides audio tracks management.
VlcControlAudio::VlcControlAudio | ( | VlcMediaPlayer * | player, |
const QString & | language = 0 , |
||
QObject * | parent = 0 |
||
) | [explicit] |
VlcControlAudio constructor.
player | media player (VlcMediaPlayer *) |
language | default audio language (QString) |
parent | audio controller's parent object (QObject *) |
void VlcControlAudio::actions | ( | QList< QAction * > | _t1, |
const Vlc::ActionsType | _t2 | ||
) | [signal] |
Signal sending actions for changing audio tracks.
QList<QAction*> | list of actions |
Vlc::ActionsType | type of actions |
void VlcControlAudio::audioTracks | ( | QList< QAction * > | _t1 | ) | [signal] |
Signal sending actions for changing audio tracks.
QList<QAction*> | list 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.
language | comma separated languages (QString) |