Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1280)

Unified Diff: media/midi/midi_message_util.h

Issue 107513012: [WebMIDI] Introduce UsbMidi{Input, Output}Stream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-midi-parser
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/midi/midi_message_util.h
diff --git a/media/midi/midi_message_util.h b/media/midi/midi_message_util.h
index 1dc6d3cba786df4687e7c358a86d22acb8966da0..4111637f21f440bc162ae603a1b72a986b0993e4 100644
--- a/media/midi/midi_message_util.h
+++ b/media/midi/midi_message_util.h
@@ -20,6 +20,10 @@ namespace media {
// - the End of System Exclusive message.
MEDIA_EXPORT size_t GetMIDIMessageLength(uint8 status_byte);
+const uint8 kSystemExclusiveByte = 0xf0;
+const uint8 kSystemExclusiveEndByte = 0xf7;
+const uint8 kSystemMessagePattern = 0xf0;
Takashi Toyoshima 2014/01/15 12:08:40 Can you insert one line after the line 24, and how
yhirano 2014/01/15 13:25:42 Done.
+
} // namespace media
#endif // MEDIA_MIDI_MIDI_MESSAGE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698