The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHASignal::delay_wave_t Class Reference

Delayline containing wave fragments. More...

Public Member Functions

 delay_wave_t (unsigned int delay, unsigned int frames, unsigned int channels)
 
 ~delay_wave_t ()
 
mha_wave_tprocess (mha_wave_t *)
 

Private Attributes

unsigned int delay
 
MHASignal::waveform_t ** buffer
 
unsigned int pos
 

Detailed Description

Delayline containing wave fragments.

The delayline contains waveform fragments. The delay can be configured in integer fragments (sample delay or sub-sample delay is not possible).

Constructor & Destructor Documentation

◆ delay_wave_t()

MHASignal::delay_wave_t::delay_wave_t ( unsigned int  delay,
unsigned int  frames,
unsigned int  channels 
)

◆ ~delay_wave_t()

MHASignal::delay_wave_t::~delay_wave_t ( )

Member Function Documentation

◆ process()

mha_wave_t * MHASignal::delay_wave_t::process ( mha_wave_t s)

Member Data Documentation

◆ delay

unsigned int MHASignal::delay_wave_t::delay
private

◆ buffer

MHASignal::waveform_t** MHASignal::delay_wave_t::buffer
private

◆ pos

unsigned int MHASignal::delay_wave_t::pos
private

The documentation for this class was generated from the following files: