From: <vr-...@us...> - 2003-12-11 09:32:53
|
Update of /cvsroot/alpp/openalpp/tests In directory sc8-pr-cvs1:/tmp/cvs-serv23117/tests Modified Files: moving.cpp testmic.cpp Log Message: Updated .dsw and .dsp files for VC6 Added a config.h for various configuration switches. Added ALPP_USE_PORTAUDIO to reflect if PortAudio is available or not. Changed libraryname under windows to open++al.lib/.dll due to clash with wrapper search algorithm for OpenAL Index: moving.cpp =================================================================== RCS file: /cvsroot/alpp/openalpp/tests/moving.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** moving.cpp 21 Feb 2003 14:48:24 -0000 1.9 --- moving.cpp 11 Dec 2003 09:32:49 -0000 1.10 *************** *** 39,42 **** --- 39,43 ---- int main() { try { + Source *asd = new Source("bee.wav"); Source beesound("bee.wav"); beesound.SetGain(1); Index: testmic.cpp =================================================================== RCS file: /cvsroot/alpp/openalpp/tests/testmic.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** testmic.cpp 28 Feb 2003 08:36:24 -0000 1.10 --- testmic.cpp 11 Dec 2003 09:32:49 -0000 1.11 *************** *** 35,38 **** --- 35,42 ---- int main() { + + #ifdef ALPP_USE_PORTAUDIO + + try { InputDevice mic; *************** *** 84,87 **** --- 88,95 ---- std::cin.get(); + #else + std::cerr << "Use of portaudio is not compiled to the project" << std::endl; + std::cerr << "Look into the config.h and modify that if you inted to use PortAudio" << std::endl; + #endif return 0; |