OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
Dx8::SoundFont::Impl Struct Reference

Public Member Functions

 Impl (std::shared_ptr< Data > &shData, uint32_t dwPatch)
 
 ~Impl ()
 
void setPan (float p)
 
std::shared_ptr< InstancenoteOn (uint8_t note, uint8_t velosity)
 
bool hasNotes ()
 
void mix (float *samples, size_t count)
 

Public Attributes

std::shared_ptr< DatashData
 
uint32_t dwPatch =0
 
float pan =0.5f
 
std::vector< std::shared_ptr< Instance > > inst
 

Detailed Description

Definition at line 185 of file soundfont.cpp.

Constructor & Destructor Documentation

◆ Impl()

Dx8::SoundFont::Impl::Impl ( std::shared_ptr< Data > &  shData,
uint32_t  dwPatch 
)
inline

Definition at line 186 of file soundfont.cpp.

◆ ~Impl()

Dx8::SoundFont::Impl::~Impl ( )
inline

Definition at line 190 of file soundfont.cpp.

Member Function Documentation

◆ hasNotes()

bool Dx8::SoundFont::Impl::hasNotes ( )
inline

Definition at line 219 of file soundfont.cpp.

◆ mix()

void Dx8::SoundFont::Impl::mix ( float *  samples,
size_t  count 
)
inline

Definition at line 226 of file soundfont.cpp.

◆ noteOn()

std::shared_ptr< Instance > Dx8::SoundFont::Impl::noteOn ( uint8_t  note,
uint8_t  velosity 
)
inline

Definition at line 199 of file soundfont.cpp.

◆ setPan()

void Dx8::SoundFont::Impl::setPan ( float  p)
inline

Definition at line 193 of file soundfont.cpp.

Member Data Documentation

◆ dwPatch

uint32_t Dx8::SoundFont::Impl::dwPatch =0

Definition at line 232 of file soundfont.cpp.

◆ inst

std::vector<std::shared_ptr<Instance> > Dx8::SoundFont::Impl::inst

Definition at line 234 of file soundfont.cpp.

◆ pan

float Dx8::SoundFont::Impl::pan =0.5f

Definition at line 233 of file soundfont.cpp.

◆ shData

std::shared_ptr<Data> Dx8::SoundFont::Impl::shData

Definition at line 231 of file soundfont.cpp.


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