if (audioFormat != 1) // PCM only std::cerr << "Not PCM" << std::endl; return false;
OpenAL (Open Audio Library) is a cross-platform 3D audio API designed for efficient rendering of multichannel three-dimensional positional audio [2]. Originally developed by Loki Entertainment in 2000 to help port Windows games to Linux, it has become a staple in the gaming and simulation industries [2]. openal -open audio library- 2.0.7.0
(by DevMaster.net)
: Mimics real-world sound behavior, such as a noise getting louder as you approach its source or changing tone as it moves past you. Cross-Platform Support if (audioFormat