bullet3/examples/TinyAudio/b3Sound_C_Api.h

30 lines
405 B
C
Raw Normal View History

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
{
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
extern "C"
{
2017-04-28 18:35:00 +00:00
#endif
#ifdef __cplusplus
}
#endif
#endif ///B3_SOUND_C_API_H