LMMS
Loading...
Searching...
No Matches
juce::WavFileHelpers::SMPLChunk Struct Reference

Classes

struct  SampleLoop

Public Member Functions

void copyTo (StringMap &values, const int totalSize) const

Static Public Member Functions

template<typename NameType>
static void setValue (StringMap &values, NameType name, uint32 val)
static void setValue (StringMap &values, int prefix, const char *name, uint32 val)
template<typename NameType>
static uint32 getValue (const StringMap &values, NameType name, const char *def)
static uint32 getValue (const StringMap &values, int prefix, const char *name, const char *def)
static MemoryBlock createFrom (const StringMap &values)

Public Attributes

struct juce::WavFileHelpers::SMPLChunk::SampleLoop JUCE_PACKED
uint32 manufacturer
uint32 product
uint32 samplePeriod
uint32 midiUnityNote
uint32 midiPitchFraction
uint32 smpteFormat
uint32 smpteOffset
uint32 numSampleLoops
uint32 samplerData
SampleLoop loops [1]

Member Function Documentation

◆ copyTo()

void juce::WavFileHelpers::SMPLChunk::copyTo ( StringMap & values,
const int totalSize ) const
inline

◆ createFrom()

MemoryBlock juce::WavFileHelpers::SMPLChunk::createFrom ( const StringMap & values)
inlinestatic

◆ getValue() [1/2]

uint32 juce::WavFileHelpers::SMPLChunk::getValue ( const StringMap & values,
int prefix,
const char * name,
const char * def )
inlinestatic

◆ getValue() [2/2]

template<typename NameType>
uint32 juce::WavFileHelpers::SMPLChunk::getValue ( const StringMap & values,
NameType name,
const char * def )
inlinestatic

◆ setValue() [1/2]

void juce::WavFileHelpers::SMPLChunk::setValue ( StringMap & values,
int prefix,
const char * name,
uint32 val )
inlinestatic

◆ setValue() [2/2]

template<typename NameType>
void juce::WavFileHelpers::SMPLChunk::setValue ( StringMap & values,
NameType name,
uint32 val )
inlinestatic

Member Data Documentation

◆ JUCE_PACKED

struct juce::WavFileHelpers::SMPLChunk::SampleLoop juce::WavFileHelpers::SMPLChunk::JUCE_PACKED

◆ loops

SampleLoop juce::WavFileHelpers::SMPLChunk::loops[1]

◆ manufacturer

uint32 juce::WavFileHelpers::SMPLChunk::manufacturer

◆ midiPitchFraction

uint32 juce::WavFileHelpers::SMPLChunk::midiPitchFraction

◆ midiUnityNote

uint32 juce::WavFileHelpers::SMPLChunk::midiUnityNote

◆ numSampleLoops

uint32 juce::WavFileHelpers::SMPLChunk::numSampleLoops

◆ product

uint32 juce::WavFileHelpers::SMPLChunk::product

◆ samplePeriod

uint32 juce::WavFileHelpers::SMPLChunk::samplePeriod

◆ samplerData

uint32 juce::WavFileHelpers::SMPLChunk::samplerData

◆ smpteFormat

uint32 juce::WavFileHelpers::SMPLChunk::smpteFormat

◆ smpteOffset

uint32 juce::WavFileHelpers::SMPLChunk::smpteOffset

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