reactor-c
1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
wave_file_reader.h
Go to the documentation of this file.
1
38
39
#ifndef WAVE_FILE_READER_H
40
#define WAVE_FILE_READER_H
41
50
typedef
struct
lf_waveform_t
{
51
uint32_t
length
;
52
uint16_t
num_channels
;
53
int16_t*
waveform
;
54
}
lf_waveform_t
;
55
70
lf_waveform_t
*
read_wave_file
(
const
char
* path);
71
72
#endif
// WAVE_FILE_READER_H
read_wave_file
lf_waveform_t * read_wave_file(const char *path)
Open a wave file, check that the format is supported, allocate memory for the sample data,...
lf_waveform_t
Waveform in 16-bit linear-PCM format.
Definition
wave_file_reader.h:50
lf_waveform_t::length
uint32_t length
Definition
wave_file_reader.h:51
lf_waveform_t::num_channels
uint16_t num_channels
Definition
wave_file_reader.h:52
lf_waveform_t::waveform
int16_t * waveform
Definition
wave_file_reader.h:53
Users
runner
work
reactor-c
reactor-c
util
wave_file_reader.h
Generated on
for reactor-c by
1.14.0