Audio controls. More...
#include <VLCQtCore/Audio.h>
Public Slots | |
| void | setVolume (int volume) |
| Set current audio level. More... | |
| void | setTrack (int track) |
| Set current audio track. More... | |
| bool | toggleMute () const |
| Toggle mute state. More... | |
| void | setChannel (Vlc::AudioChannel channel) |
| Set audio channel. More... | |
| void | setMute (bool mute) const |
| Set mute state. More... | |
Signals | |
| void | volumeChangedF (float volume) |
| Signal sent when volume has changed. More... | |
| void | volumeChanged (int volume) |
| Signal sent when volume has changed. More... | |
| void | muteChanged (bool mute) |
| Signal sent when mute has changed. More... | |
Public Member Functions | |
| VlcAudio (VlcMediaPlayer *player) | |
| VlcAudio constructor. More... | |
| ~VlcAudio () | |
| VlcAudio destructor. | |
| bool | getMute () const |
| Get current mute state. 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... | |
| Vlc::AudioChannel | channel () const |
| Get audio channel. More... | |
Friends | |
| class | VlcAudioCallbackHelper |
A group of audio controls functions.
|
explicit |
This constructor creates a new audio manager.
| player | media player (VlcMediaPlayer *) |
| Vlc::AudioChannel VlcAudio::channel | ( | ) | const |
| bool VlcAudio::getMute | ( | ) | const |
|
signal |
| mute | new mute state (bool) |
|
slot |
| channel | new audio channel |
|
slot |
| mute | mute state (bool) |
|
slot |
| track | new audio track (int) |
|
slot |
| volume | new audio level (int) |
|
slot |
| int VlcAudio::track | ( | ) | const |
| int VlcAudio::trackCount | ( | ) | const |
| QStringList VlcAudio::trackDescription | ( | ) | const |
| QList< int > VlcAudio::trackIds | ( | ) | const |
| int VlcAudio::volume | ( | ) | const |
|
signal |
| volume | new volume (int) |
|
signal |
| volume | new volume (float) |