OpenShot Audio Library | OpenShotAudio 0.4.0
Loading...
Searching...
No Matches
juce::universal_midi_packets::Utils::U16< Index > Struct Template Reference

#include <juce_UMPUtils.h>

Static Public Member Functions

static constexpr uint32_t set (uint32_t word, uint16_t value)
 
static constexpr uint16_t get (uint32_t word)
 

Static Public Attributes

static constexpr uint32_t shift = (uint32_t) 0x10 - Index * 16
 

Detailed Description

template<size_t Index>
struct juce::universal_midi_packets::Utils::U16< Index >

Helper functions for setting/getting 16-bit ranges inside a 32-bit word.

Definition at line 94 of file juce_UMPUtils.h.

Member Function Documentation

◆ get()

template<size_t Index>
static constexpr uint16_t juce::universal_midi_packets::Utils::U16< Index >::get ( uint32_t  word)
inlinestaticconstexpr

Definition at line 103 of file juce_UMPUtils.h.

◆ set()

template<size_t Index>
static constexpr uint32_t juce::universal_midi_packets::Utils::U16< Index >::set ( uint32_t  word,
uint16_t  value 
)
inlinestaticconstexpr

Definition at line 98 of file juce_UMPUtils.h.

Member Data Documentation

◆ shift

template<size_t Index>
constexpr uint32_t juce::universal_midi_packets::Utils::U16< Index >::shift = (uint32_t) 0x10 - Index * 16
staticconstexpr

Definition at line 96 of file juce_UMPUtils.h.


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