There are a variety of audio APIs available to a developer. One that I use is called the FMOD Sound System, partially because of its cost (free to develop with), partially because of its ease of use, and partially because of its powerful features.
Read on for more information here.