Hi!
Have you checked BASS Sound Library from https://www.un4seen.com/
It can be used for free as long as you are not earning any profit from your project. But for commercial usage you need to purchase one of the valid licenses.
The thing that I love about BASS is that it has support for lots of sound formats even including support for playing Module music files.
Another great thing about BASS Sound Library is that it supports wide array of platforms. While this might not seem very important to you since using Delphi 5 you are basically limited only to Windows platform. But it can still be an advantage because if in the future you chose to use some moder version of Delphi to try and develop another game for some other platforms as well you will already have good knowledge of using sound library that supports that platform.
The only thing is that I'm not sure if BASS sound library still support so old Delphi versions as Delphi 5. But since it is free to use for non-commercial use I strongly suggest you give it a try.
EDIT: BASS Sound Library is compatible with FreePascal so if in the future you decide to switch from Delphi to FPC/Lazarus you can keep using the same library.
http://wiki.freepascal.org/Multimedia_Programming#BASS
Bookmarks