answersLogoWhite

0

Sound systems are hardware-dependant, thus C++ provides no native support for audio. You will need to download a library suitable for your hardware. Windows is slightly easier to work with since you can write code to suit the DirectX abstraction layer rather than deal with the hardware directly. This means your code will run on any Windows system with the same or higher version of DirectX, regardless of what hardware is available. For cross-platform development the simplest solution would be to use OpenAL (Open Audio Library), the audio equivalent of OpenGL for graphics. However, OpenAL is a proprietary library. The open source LGPL-licenced version is called OpenAL Soft.

User Avatar

Wiki User

11y ago

What else can I help you with?