ISoundEngine* engine = createIrrKlangDevice(); IAudioRecorder* recorder = createIrrKlangAudioRecorder(engine); recorder->startRecordingBufferedAudio(); printf("\nRECORDING. Press any key to stop...\n"); getch(); recorder->stopRecordingAudio(); // play the recorded audio, looped recorder->addSoundSourceFromRecordedAudio("myRecordedVoice"); engine->play2D("myRecordedVoice", true); |
|
Feature | Code |
Link | [url] www.example.com [/url] |
Bold | [b]bold text[/b] |
Quote | [quote]quoted text[/quote] |
Code | [code]source code[/code] |