audio::reset_channel + minor refactor

This commit is contained in:
MihailRis
2024-03-05 00:19:46 +03:00
parent 9fbf46169f
commit 0ab39fa06f
9 changed files with 62 additions and 40 deletions
+2 -2
View File
@@ -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();