| Index: Source/modules/webmidi/MIDIOutput.cpp
|
| diff --git a/Source/modules/webmidi/MIDIOutput.cpp b/Source/modules/webmidi/MIDIOutput.cpp
|
| index 93bfa88fb66ec1821d36f4b2b4918e2fbad82bb0..17c30bae196b676018409163ea01b5159ba56309 100644
|
| --- a/Source/modules/webmidi/MIDIOutput.cpp
|
| +++ b/Source/modules/webmidi/MIDIOutput.cpp
|
| @@ -189,6 +189,14 @@ MIDIOutput::~MIDIOutput()
|
| {
|
| }
|
|
|
| +void MIDIOutput::send(DOMUint8Array* array, double timestamp, ExceptionState& exceptionState)
|
| +{
|
| + if (!array)
|
| + return;
|
| +
|
| + send(array->view(), timestamp, exceptionState);
|
| +}
|
| +
|
| void MIDIOutput::send(Uint8Array* array, double timestamp, ExceptionState& exceptionState)
|
| {
|
| if (timestamp == 0.0)
|
| @@ -220,7 +228,7 @@ void MIDIOutput::send(Vector<unsigned> unsignedData, double timestamp, Exception
|
| send(array.get(), timestamp, exceptionState);
|
| }
|
|
|
| -void MIDIOutput::send(Uint8Array* data, ExceptionState& exceptionState)
|
| +void MIDIOutput::send(DOMUint8Array* data, ExceptionState& exceptionState)
|
| {
|
| send(data, 0.0, exceptionState);
|
| }
|
|
|