¡@

Home 

c++ Programming Glossary: hellosource

OpenAL: How to create simple “Microphone Echo” programm?

http://stackoverflow.com/questions/4087727/openal-how-to-create-simple-microphone-echo-programm

of buffer objects ALenum errorCode 0 ALuint helloBuffer 16 helloSource 1 ALCdevice audioDevice alcOpenDevice NULL Request default audio.. 16 ii bufferQueue.push_back helloBuffer ii alGenSources 1 helloSource 0 Create a sound source errorCode alGetError short buffer FREQ.. done Main loop Poll for recoverable buffers alGetSourcei helloSource 0 AL_BUFFERS_PROCESSED availBuffers if availBuffers 0 alSourceUnqueueBuffers..