top of page
Writer's picturewu iris

Update#2 on Audio Project

This week I added more interfaces to the audio library and started working on AudioBuilder.


Things I’ve completed this week:

  • Modify Load() to enable autoplay and loop.

  • Modify Play() so that you can play the audio from start or start the loop.

Replace Play() with Play(bool, bool). The default value is false, which means resuming.

  • Add an interface for exiting the loop.

  • Add getters and setters for pitch and volume.

You can use GetPitch()/GetVolume() and SetPitch(float)/SetVolume(float).

  • Add a data structure to store audio configuration.

  • Create AudioBuilder.

Now you can use a Lua format file to configure audio settings.


8 views0 comments

Recent Posts

See All

Audio Project v1.0

Downloadable See How to use it? for more information. What does the project do? This audio project is based on Windows XAudio2 library....

Comments


bottom of page