summaryrefslogtreecommitdiff
path: root/src/music/extmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/music/extmidi.cpp')
-rw-r--r--src/music/extmidi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/music/extmidi.cpp b/src/music/extmidi.cpp
index f88245250..cf19f17cf 100644
--- a/src/music/extmidi.cpp
+++ b/src/music/extmidi.cpp
@@ -110,7 +110,7 @@ bool MusicDriver_ExtMidi::IsSongPlaying()
void MusicDriver_ExtMidi::SetVolume(byte vol)
{
- DEBUG(driver, 1, "extmidi: set volume not implemented");
+ Debug(driver, 1, "extmidi: set volume not implemented");
}
void MusicDriver_ExtMidi::DoPlay()
@@ -127,7 +127,7 @@ void MusicDriver_ExtMidi::DoPlay()
}
case -1:
- DEBUG(driver, 0, "extmidi: couldn't fork: %s", strerror(errno));
+ Debug(driver, 0, "extmidi: couldn't fork: {}", strerror(errno));
FALLTHROUGH;
default:
@@ -153,7 +153,7 @@ void MusicDriver_ExtMidi::DoStop()
CSleep(10);
}
- DEBUG(driver, 0, "extmidi: gracefully stopping failed, trying the hard way");
+ Debug(driver, 0, "extmidi: gracefully stopping failed, trying the hard way");
/* Gracefully stopping failed. Do it the hard way
* and wait till the process finally died. */
kill(this->pid, SIGKILL);