|
ShitEngine
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
|
#include <AudioTrack.h>
Public 成员函数 | |
| AudioTrack (const AudioTrack &)=delete | |
| AudioTrack & | operator= (const AudioTrack &)=delete |
| AudioTrack (AudioTrack &&) noexcept | |
| AudioTrack & | operator= (AudioTrack &&) noexcept |
| ~AudioTrack () | |
| void | pause () |
| void | resume () |
| void | stop () |
| void | setVolume (float gain) |
| float | getVolume () const |
| void | setLooping (int loopCount) |
| int | getLooping () const |
| bool | isPlaying () const |
| bool | isPaused () const |
| bool | isFinished () const |
友元 | |
| class | AudioPlayer |
| class | AudioTrackGroup |
|
delete |
|
noexcept |
| ~AudioTrack | ( | ) |
|
inline |
| float getVolume | ( | ) | const |
| bool isFinished | ( | ) | const |
| bool isPaused | ( | ) | const |
| bool isPlaying | ( | ) | const |
|
noexcept |
|
delete |
| void pause | ( | ) |
| void resume | ( | ) |
| void setLooping | ( | int | loopCount | ) |
| void setVolume | ( | float | gain | ) |
| void stop | ( | ) |
|
friend |
|
friend |