![]() |
The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
An audio fragment in the openMHA (planned as a replacement of mha_wave_t and mha_spec_t). More...
Public Attributes | |
| mha_audio_descriptor_t | descriptor |
| Dimension and description of the data. More... | |
| mha_real_t * | rdata |
| Data pointer if flag mha_audio_descriptor_t::is_complex is unset. More... | |
| mha_complex_t * | cdata |
| Data pointer if flag mha_audio_descriptor_t::is_complex is set. More... | |
An audio fragment in the openMHA (planned as a replacement of mha_wave_t and mha_spec_t).
The data alignment is
. This allows a direct cast of the current mha_wave_t and mha_spec_t data pointers into corresponding mha_audio_t objects.
| mha_audio_descriptor_t mha_audio_t::descriptor |
Dimension and description of the data.
| mha_real_t* mha_audio_t::rdata |
Data pointer if flag mha_audio_descriptor_t::is_complex is unset.
| mha_complex_t* mha_audio_t::cdata |
Data pointer if flag mha_audio_descriptor_t::is_complex is set.