Audio controls. More...
#include <vlc-qt/Audio.h>
Public Member Functions | |
VlcAudio (VlcMediaPlayer *player) | |
VlcAudio constructor. More... | |
~VlcAudio () | |
VlcAudio destructor. | |
bool | getMute () const |
Get current mute status. More... | |
void | setVolume (int volume) |
Set current audio level. More... | |
void | setTrack (int track) |
Set current audio track. More... | |
bool | toggleMute () const |
Toggle mute status. More... | |
int | track () const |
Get current audio track. More... | |
int | trackCount () const |
Get number of available audio tracks. More... | |
QStringList | trackDescription () const |
Get the description of available audio tracks. More... | |
QList< int > | trackIds () const |
Get the ids of available audio tracks. More... | |
int | volume () const |
Get current audio level. More... | |
A group of audio controls functions.
|
explicit |
This constructor creates a new audio manager.
player | media player (VlcMediaPlayer *) |
bool VlcAudio::getMute | ( | ) | const |
void VlcAudio::setTrack | ( | int | track | ) |
track | new audio track (int) |
void VlcAudio::setVolume | ( | int | volume | ) |
volume | new audio level (int) |
bool VlcAudio::toggleMute | ( | ) | const |
int VlcAudio::track | ( | ) | const |
int VlcAudio::trackCount | ( | ) | const |
QStringList VlcAudio::trackDescription | ( | ) | const |
QList< int > VlcAudio::trackIds | ( | ) | const |
int VlcAudio::volume | ( | ) | const |