shithub: choc

Download patch

ref: 044b3e839ac50ec92e5a72616a30f703e00df5d7
parent: ba9a4fc5e2ac4cbdf8b5b7917bf61753fe2a25c2
author: Alex Mayfield <alexmax2742@gmail.com>
date: Wed Mar 8 18:16:00 EST 2017

Define and comment fixes

--- a/midiproc/main.c
+++ b/midiproc/main.c
@@ -14,9 +14,9 @@
 //
 // DESCRIPTION:
 //
-// Win32/SDL_mixer MIDI RPC Server
+// Win32/SDL_mixer MIDI Server
 //
-// Uses RPC to communicate with Doom. This allows this separate process to
+// Uses pipes to communicate with Doom. This allows this separate process to
 // have its own independent volume control even under Windows Vista and up's 
 // broken, stupid, completely useless mixer model that can't assign separate
 // volumes to different devices for the same process.
@@ -267,6 +267,9 @@
     return false;
 }
 
+//
+// The main pipe "listening" loop
+//
 boolean ListenForever()
 {
     BOOL wok = FALSE;
--- a/src/i_midipipe.c
+++ b/src/i_midipipe.c
@@ -13,7 +13,7 @@
 // GNU General Public License for more details.
 //
 // DESCRIPTION:
-//     Client Interface to RPC Midi Server
+//     Client Interface to Midi Server
 //
 
 #if _WIN32
--- a/src/i_midipipe.h
+++ b/src/i_midipipe.h
@@ -13,11 +13,11 @@
 // GNU General Public License for more details.
 //
 // DESCRIPTION:
-//     Client Interface to RPC Midi Server
+//     Client Interface to Midi Server
 //
 
-#ifndef __I_MIDISOCKET__
-#define __I_MIDISOCKET__
+#ifndef __I_MIDIPIPE__
+#define __I_MIDIPIPE__
 
 #if _WIN32