2017-04-28 18:35:00 +00:00
|
|
|
#ifndef B3_SOUND_C_API_H
|
|
|
|
#define B3_SOUND_C_API_H
|
|
|
|
|
|
|
|
//todo: create a sound C-API
|
|
|
|
|
|
|
|
//create sound engine
|
|
|
|
//destroy sound engine
|
|
|
|
//getSoundSource
|
|
|
|
//startSound
|
|
|
|
//releaseSound
|
|
|
|
//etc
|
|
|
|
|
|
|
|
enum B3_SOUND_SOURCE_TYPE
|
|
|
|
{
|
2018-09-23 21:17:31 +00:00
|
|
|
B3_SOUND_SOURCE_SINE_OSCILLATOR = 1,
|
2017-04-28 18:35:00 +00:00
|
|
|
B3_SOUND_SOURCE_SAW_OSCILLATOR,
|
|
|
|
B3_SOUND_SOURCE_WAV_FILE,
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2018-09-23 21:17:31 +00:00
|
|
|
extern "C"
|
|
|
|
{
|
2017-04-28 18:35:00 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
#endif ///B3_SOUND_C_API_H
|