aboutsummaryrefslogtreecommitdiff
path: root/sword2/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2005-01-28 22:05:51 +0000
committerMax Horn2005-01-28 22:05:51 +0000
commitabd12dd1b63d9e680bdc157fd5aa1fdb579e111e (patch)
treeda026a16edefcc56119ef2376eb0b26f7ec9d500 /sword2/sound.cpp
parentc62d82450b7fc4d64bf6102cb8074457e3d0cb47 (diff)
downloadscummvm-rg350-abd12dd1b63d9e680bdc157fd5aa1fdb579e111e.tar.gz
scummvm-rg350-abd12dd1b63d9e680bdc157fd5aa1fdb579e111e.tar.bz2
scummvm-rg350-abd12dd1b63d9e680bdc157fd5aa1fdb579e111e.zip
Use class Mutex instead of MutexRef
svn-id: r16679
Diffstat (limited to 'sword2/sound.cpp')
-rw-r--r--sword2/sound.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/sword2/sound.cpp b/sword2/sound.cpp
index b50735ccc2..a9e21373c5 100644
--- a/sword2/sound.cpp
+++ b/sword2/sound.cpp
@@ -46,7 +46,6 @@ Sound::Sound(Sword2Engine *vm) {
int i;
_vm = vm;
- _mutex = _vm->_system->createMutex();
for (i = 0; i < FXQ_LENGTH; i++)
_fxQueue[i].resource = 0;
@@ -79,9 +78,6 @@ Sound::~Sound() {
delete _music[i];
free(_mixBuffer);
-
- if (_mutex)
- _vm->_system->deleteMutex(_mutex);
}
/**