#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/midi/midi_message_queue.h"
#include <algorithm>
#include "base/check_op.h"
#include "base/notreached.h"
#include "media/midi/message_util.h"
namespace midi {
MidiMessageQueue::MidiMessageQueue(bool allow_running_status)
: … { … }
MidiMessageQueue::~MidiMessageQueue() = default;
void MidiMessageQueue::Add(const std::vector<uint8_t>& data) { … }
void MidiMessageQueue::Add(const uint8_t* data, size_t length) { … }
void MidiMessageQueue::Get(std::vector<uint8_t>* message) { … }
}