top of page
  • Grey Facebook Icon
  • Grey Instagram Icon
  • LinkedIn

Update#2 on Audio Project

  • Writer: wu iris
    wu iris
  • Nov 11, 2020
  • 1 min read

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.


 
 
 

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....

 
 
 

コメント


© 2020 by Yuhan Wu.

 Proudly created with Wix.com

bottom of page