3350 Software Engineering
To help groups work together...
Isolation of OpenAL sound code
If your group project includes the use of OpenAL sound, then please
surround all sound code elements with #ifdef and #endif statements.
This will allow other members of your group to "turn off" the sound
when needed. Some students do not have an easy way to get access to
the OpenAL sound libraries on their computers.
Our code sample is on Sleipnir at:
/home/fac/gordon/p/3350/code/frameworks/openalTest
has been modified to help you.
Example:
#ifdef USE_OPENAL_SOUND
//your OpenAL code goes here
#endif
This is now a requirement in projects using sound.