mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
audio::reset_channel + minor refactor
This commit is contained in:
parent
9fbf46169f
commit
0ab39fa06f
9 changed files with 62 additions and 40 deletions
|
|
@ -474,8 +474,8 @@ namespace audio {
|
|||
/// @param delta time elapsed since the last update (seconds)
|
||||
extern void update(double delta);
|
||||
|
||||
/// @brief Stop all playing audio, destroy all non-builtin channels
|
||||
extern void reset();
|
||||
/// @brief Stop all playing audio in channel, reset channel state
|
||||
extern void reset_channel(int channel);
|
||||
|
||||
/// @brief Finalize audio system
|
||||
extern void close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue