From 8c931fd1e8c0ced874f4cb5fe77197b39b940528 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 28 Mar 2011 18:06:24 +0200 Subject: AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use it --- engines/sky/music/gmmusic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sky') diff --git a/engines/sky/music/gmmusic.cpp b/engines/sky/music/gmmusic.cpp index 22964f3f56..8818c5b711 100644 --- a/engines/sky/music/gmmusic.cpp +++ b/engines/sky/music/gmmusic.cpp @@ -53,8 +53,8 @@ GmMusic::~GmMusic() { stopMusic(); // Send All Sound Off and All Notes Off (for external synths) for (int i = 0; i < 16; i++) { - _midiDrv->send ((120 << 8) | 0xB0 | i); - _midiDrv->send ((123 << 8) | 0xB0 | i); + _midiDrv->send((120 << 8) | 0xB0 | i); + _midiDrv->send((123 << 8) | 0xB0 | i); } _midiDrv->close(); delete _midiDrv; -- cgit v1.2.3