Fixed error messages.
diff --git a/multimedia/audio.c b/multimedia/audio.c
index 63e1eba..2f5f9e6 100644
--- a/multimedia/audio.c
+++ b/multimedia/audio.c
@@ -341,7 +341,7 @@
count = write (WOutDev[wDevID].unixdev, lpData, lpWaveHdr->dwBufferLength);
TRACE(wave,"write returned count %u !\n",count);
if (count != lpWaveHdr->dwBufferLength) {
- WARN(wave, " error writting !\n");
+ WARN(wave, " error writing !\n");
return MMSYSERR_NOTENABLED;
}
WOutDev[wDevID].dwTotalPlayed += count;
diff --git a/multimedia/dsound.c b/multimedia/dsound.c
index 9cf5ed2..e8d18ad 100644
--- a/multimedia/dsound.c
+++ b/multimedia/dsound.c
@@ -2099,12 +2099,12 @@
audiofd = open("/dev/audio",O_WRONLY);
if (audiofd == -1) {
if (errno == ENODEV) {
- TRACE(dsound, "No sound hardware\n");
+ MSG("No sound hardware found.\n");
return DSERR_NODRIVER;
} else if (errno == EBUSY) {
- TRACE(dsound, "Sound device busy, will keep trying\n");
+ MSG("Sound device busy, will keep trying.\n");
} else {
- TRACE(dsound, "Unexpected error while checking for sound support\n");
+ MSG("Unexpected error while checking for sound support.\n");
return DSERR_GENERIC;
}
} else {