FMod is a 3d sound and music library. Though its license is strange, it works acceptably for playing sounds, and it nicely encapsulates 3D sound.

Related: 
-[[TutUsingLibs|Using libraries in FreeBASIC]] //by SJ Zero//