![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Wave/Sound management functions. More...
Public Member Functions | |
| Sound (const ::Sound &vec) | |
| Sound (const ::Wave &wave) | |
| Sound (const std::string &fileName) | |
| ~Sound () | |
| unsigned int | GetSampleCount () const |
| inline ::AudioStream | GetStream () const |
| bool | IsPlaying () const |
| Check if a sound is currently playing. More... | |
| Sound & | operator= (const ::Sound &sound) |
| Sound & | Pause () |
| Pause a sound. More... | |
| Sound & | Play () |
| Play a sound. More... | |
| Sound & | PlayMulti () |
| Play a sound (using multichannel buffer pool) More... | |
| Sound & | Resume () |
| Resume a paused sound. More... | |
| Sound & | SetPitch (float pitch) |
| Set pitch for a sound (1.0 is base level) More... | |
| void | SetSampleCount (unsigned int value) |
| void | SetStream (::AudioStream value) |
| Sound & | SetVolume (float volume) |
| Set volume for a sound (1.0 is max level) More... | |
| Sound & | Stop () |
| Stop playing a sound. More... | |
| Sound & | StopMulti () |
| Stop any sound playing (using multichannel buffer pool) More... | |
| void | Unload () |
| Unload sound. More... | |
| Sound & | Update (const void *data, int sampleCount) |
| Update sound buffer with new data. More... | |
Protected Member Functions | |
| void | set (const ::Sound &sound) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Definition at line 150 of file Sound.hpp.
Referenced by operator=(), and Sound().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.17