aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/sound.h
diff options
context:
space:
mode:
authorNipun Garg2019-07-25 08:57:59 +0530
committerEugene Sandulenko2019-09-03 17:17:28 +0200
commit5ba58bf03c41befe5086474170c2ea5d8a3d5d74 (patch)
treebf8ce75dd5bba27e92ae4b0c1cfd1da80b3dee0b /engines/hdb/sound.h
parent123b65931e366ee759344a54dcbdf012f030b1cf (diff)
downloadscummvm-rg350-5ba58bf03c41befe5086474170c2ea5d8a3d5d74.tar.gz
scummvm-rg350-5ba58bf03c41befe5086474170c2ea5d8a3d5d74.tar.bz2
scummvm-rg350-5ba58bf03c41befe5086474170c2ea5d8a3d5d74.zip
HDB: Simplify Voice struct
Diffstat (limited to 'engines/hdb/sound.h')
-rw-r--r--engines/hdb/sound.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h
index 68501a14ec..8d98a45c8d 100644
--- a/engines/hdb/sound.h
+++ b/engines/hdb/sound.h
@@ -1415,11 +1415,9 @@ struct SoundLookUp {
struct Voice {
bool active;
- int32 length;
- int index;
Audio::SoundHandle *handle;
- Voice() : active(false), length(0), index(0), handle(new Audio::SoundHandle) {}
+ Voice() : active(false), handle(new Audio::SoundHandle) {}
~Voice() {
delete handle;
}