diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2020-12-28 00:54:08 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-28 00:54:08 -0600 |
| commit | 39a8ab8ab2d7791c1954649b1fb96c52d498105f (patch) | |
| tree | 8b02acdf2411263035cffeb33898325be3edc0ef /include | |
| parent | b159ca35df0fbfbce276c9fbaf011101bc79457b (diff) | |
Enable support for up to 6 SFX channels (#355)
I'm somewhat confused as to why this wasn't enabled to begin with, since all the necessary code is here.
Closes #306, and fixes the issue with realizations being cut off by other sounds.
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/aosfxplayer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h index 0a5fffa..7597636 100644 --- a/include/aosfxplayer.h +++ b/include/aosfxplayer.h @@ -16,8 +16,7 @@ public: void clear(); void loop_clear(); - void play(QString p_sfx, QString p_char = "", QString shout = "", - int channel = -1); + void play(QString p_sfx, QString p_char = "", QString shout = ""); void stop(int channel = -1); void set_volume(qreal p_volume); void set_looping(bool toggle, int channel = -1); |
