World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
36 int bytes_per_sample);
38 const void *
samples,
bool wait =
false);
TrackBuffer * CreateTrack16(int num_channels, int sample_rate, const void *data, size_t size)
virtual ~OpenALSoundProvider()
void SetOrientation(float yaw, float pitch)
void DeleteBuffer16(TrackBuffer **buffer)
EGLContext EGLenum EGLClientBuffer buffer
EGLSurface EGLint EGLint y
StreamingTrackBuffer * CreateStreamingTrack16(int num_channels, int sample_rate, int bytes_per_sample)
void log(const char *format,...)
void DeleteStreamingTrack(StreamingTrackBuffer **buffer)
float alBufferLength(unsigned int buffer)
void Stream16(StreamingTrackBuffer *buffer, int num_samples, const void *samples, bool wait=false)
struct ALCcontext ALCcontext
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void PlayTrack16(TrackBuffer *buffer, bool loop=false, bool wait=false)
void SetListenerPosition(float x, float y, float z)
struct ALCdevice ALCdevice