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

Unified Diff: media/midi/usb_midi_output_stream.h

Issue 107163008: [WebMIDI] Introduce MidiManagerUsb (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-midi-stream
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
« no previous file with comments | « media/midi/usb_midi_jack.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/usb_midi_output_stream.h
diff --git a/media/midi/usb_midi_output_stream.h b/media/midi/usb_midi_output_stream.h
index 008da4cdf66784159eb12341420697592a58d151..1d98d584fd0c6e4a635968460fd869ef7b171fdf 100644
--- a/media/midi/usb_midi_output_stream.h
+++ b/media/midi/usb_midi_output_stream.h
@@ -23,6 +23,8 @@ class MEDIA_EXPORT UsbMidiOutputStream {
// Converts |data| to USB-MIDI data and send it to the jack.
void Send(const std::vector<uint8>& data);
+ const UsbMidiJack& jack() const { return jack_; }
+
private:
size_t GetSize(const std::vector<uint8>& data) const;
uint8_t Get(const std::vector<uint8>& data, size_t index) const;
« no previous file with comments | « media/midi/usb_midi_jack.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698