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