I made a simple sound/music player using the Castle Game Engine 🙂 It is available in the engine sources in examples/audio/audio_player_scrubber
.
It has all the features you would expect:
- Volume,
- Loop,
- Sound offset (position in time) control,
- Programmer-designed user-interface (ah, this brings back good memories:).
- It can open wav and ogg files, and plays them using OpenAL.
It was coded to show that TSound.Offset works cool. It’s a new property added today (for Eugene Loza, see here), allows to get/set the sound offset (aka “position in time”).
You can view the code on GitHub.