OpenShot Audio Library | OpenShotAudio  0.6.0
juce::universal_midi_packets::BytestreamMidiView Struct Reference

#include <juce_UMPConversion.h>

Collaboration diagram for juce::universal_midi_packets::BytestreamMidiView:
[legend]

Public Member Functions

constexpr BytestreamMidiView (Span< const std::byte > bytesIn, double timestampIn)
 
 BytestreamMidiView (const MidiMessage *msg)
 
 BytestreamMidiView (const MidiMessageMetadata msg)
 
MidiMessage getMessage () const
 
bool isSysEx () const
 

Public Attributes

Span< const std::byte > bytes
 
double timestamp = 0.0
 

Detailed Description

Represents a MIDI message that happened at a particular time.

Unlike MidiMessage, BytestreamMidiView is non-owning.

Definition at line 32 of file juce_UMPConversion.h.

Constructor & Destructor Documentation

◆ BytestreamMidiView()

juce::universal_midi_packets::BytestreamMidiView::BytestreamMidiView ( const MidiMessage msg)
inlineexplicit

Creates a view over the provided message.

Note that the argument is a pointer, not a reference, in order to avoid taking a reference to a temporary.

Definition at line 42 of file juce_UMPConversion.h.


The documentation for this struct was generated from the following file: