#include <AudioPlayer.h>
◆ AudioPlayer()
| sounds::AudioPlayer::AudioPlayer |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~AudioPlayer()
| sounds::AudioPlayer::~AudioPlayer |
( |
| ) |
|
|
override |
◆ autoPlayChanged
| void sounds::AudioPlayer::autoPlayChanged |
( |
| ) |
|
|
signal |
◆ fadeInMillisChanged
| void sounds::AudioPlayer::fadeInMillisChanged |
( |
| ) |
|
|
signal |
◆ getFadeInMillis()
| auto sounds::AudioPlayer::getFadeInMillis |
( |
| ) |
const -> uint64_t |
◆ getLength()
| auto sounds::AudioPlayer::getLength |
( |
| ) |
const -> float |
◆ getSource()
| auto sounds::AudioPlayer::getSource |
( |
| ) |
const -> QString |
◆ getVolume()
| auto sounds::AudioPlayer::getVolume |
( |
| ) |
const -> float |
◆ isLoaded()
| auto sounds::AudioPlayer::isLoaded |
( |
| ) |
const -> bool |
◆ isLooping()
| auto sounds::AudioPlayer::isLooping |
( |
| ) |
const -> bool |
◆ isPlaying()
| auto sounds::AudioPlayer::isPlaying |
( |
| ) |
const -> bool |
◆ lengthChanged
| void sounds::AudioPlayer::lengthChanged |
( |
| ) |
|
|
signal |
◆ loadedChanged
| void sounds::AudioPlayer::loadedChanged |
( |
| ) |
|
|
signal |
◆ loopingChanged
| void sounds::AudioPlayer::loopingChanged |
( |
| ) |
|
|
signal |
◆ play()
| void sounds::AudioPlayer::play |
( |
| ) |
|
◆ playingChanged
| void sounds::AudioPlayer::playingChanged |
( |
| ) |
|
|
signal |
◆ playOverlapping()
| auto sounds::AudioPlayer::playOverlapping |
( |
| ) |
|
◆ resetSource()
| void sounds::AudioPlayer::resetSource |
( |
| ) |
|
◆ setFadeInMillis()
| void sounds::AudioPlayer::setFadeInMillis |
( |
uint64_t |
value | ) |
|
◆ setLooping()
| void sounds::AudioPlayer::setLooping |
( |
bool |
value | ) |
|
◆ setPlaying()
| void sounds::AudioPlayer::setPlaying |
( |
bool |
value | ) |
|
◆ setSource()
| void sounds::AudioPlayer::setSource |
( |
const QString & |
value | ) |
|
◆ setVolume()
| void sounds::AudioPlayer::setVolume |
( |
float |
value | ) |
|
◆ sourceChanged
| void sounds::AudioPlayer::sourceChanged |
( |
| ) |
|
|
signal |
◆ stop()
| void sounds::AudioPlayer::stop |
( |
| ) |
|
◆ volumeChanged
| void sounds::AudioPlayer::volumeChanged |
( |
| ) |
|
|
signal |
◆ assetStore
◆ engine
◆ fadeInMillis
| double sounds::AudioPlayer::fadeInMillis |
|
readwrite |
◆ length
| float sounds::AudioPlayer::length = 0.0f |
|
read |
Loaded audio duration in seconds; zero when no source is loaded.
◆ loaded
| bool sounds::AudioPlayer::loaded = false |
|
read |
◆ looping
| bool sounds::AudioPlayer::looping = false |
|
readwrite |
◆ playing
| bool sounds::AudioPlayer::playing = false |
|
readwrite |
◆ source
| QML_ELEMENTQString sounds::AudioPlayer::source |
|
readwrite |
Local path, file URL, or song asset URL. Resolve relative theme files with Qt.resolvedUrl(). Clearing the source unloads it and resets length.
◆ volume
| float sounds::AudioPlayer::volume |
|
readwrite |
The documentation for this class was generated from the following files: