1199ab85e9
Co-authored-by: Codex <codex@openai.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
18 lines
277 B
C
18 lines
277 B
C
#ifndef _INCLUDE_AUDIO_H_
|
|
#define _INCLUDE_AUDIO_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
int audio_init(void);
|
|
void audio_list(void);
|
|
int audio_open(const char* name);
|
|
int audio_read(float* buffer, int num_samples);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _INCLUDE_AUDIO_H_
|