foxygit / doom Log in
commit 090bc3bb61c59cc9d335d840ecc36e9fe3336fa1
Author:     Alex Mayfield <alexmax2742@gmail.com>
AuthorDate: Sat Feb 18 16:33:46 2017 -0500
Commit:     Alex Mayfield <alexmax2742@gmail.com>
CommitDate: Sat Feb 18 16:33:46 2017 -0500

    Whoops, forgot to update midiproc packet types
---
 midiproc/main.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/midiproc/main.c b/midiproc/main.c
index faeb0679..71fe9e3d 100644
--- a/midiproc/main.c
+++ b/midiproc/main.c
@@ -300,21 +300,21 @@ boolean ParseCommand(buffer_reader_t *reader, uint16_t command)
 {
     switch (command)
     {
-    case NET_MIDISOCKET_PACKET_TYPE_PREPARE_NEW_SONG:
+    case NET_MIDIPIPE_PACKET_TYPE_PREPARE_NEW_SONG:
         return MidiPipe_PrepareNewSong();
-    case NET_MIDISOCKET_PACKET_TYPE_SET_FILENAME:
+    case NET_MIDIPIPE_PACKET_TYPE_SET_FILENAME:
         return MidiPipe_SetFilename(reader);
-    case NET_MIDISOCKET_PACKET_TYPE_PLAY_SONG:
+    case NET_MIDIPIPE_PACKET_TYPE_PLAY_SONG:
         return MidiPipe_PlaySong(reader);
-    case NET_MIDISOCKET_PACKET_TYPE_STOP_SONG:
+    case NET_MIDIPIPE_PACKET_TYPE_STOP_SONG:
         return MidiPipe_StopSong();
-    case NET_MIDISOCKET_PACKET_TYPE_CHANGE_VOLUME:
+    case NET_MIDIPIPE_PACKET_TYPE_CHANGE_VOLUME:
         return MidiPipe_ChangeVolume(reader);
-    case NET_MIDISOCKET_PACKET_TYPE_PAUSE_SONG:
+    case NET_MIDIPIPE_PACKET_TYPE_PAUSE_SONG:
         return MidiPipe_PauseSong();
-    case NET_MIDISOCKET_PACKET_TYPE_RESUME_SONG:
+    case NET_MIDIPIPE_PACKET_TYPE_RESUME_SONG:
         return MidiPipe_ResumeSong();
-    case NET_MIDISOCKET_PACKET_TYPE_STOP_SERVER:
+    case NET_MIDIPIPE_PACKET_TYPE_STOP_SERVER:
         return MidiPipe_StopServer();
     default:
         return false;