Loading and manipulating sound assets in c++
Hey guys, I would appreciate it if someone could point me in the right direction for a couple of doubts I have:
Basically, I am looking for a way to print out all names of sound files in a folder to a text/xml/config file, along with their current volume multipliers, so that they can be changed without entering the game or building a new project
1) I would need to walk through the list of assets in a particular folder in the Content folder of the project (say, one called "Audio"), check which assets are audio files, and get all of their filenames. What would be the easiest way to do this?
2) I also would need to apply all the volume multipliers to said audio files, after reading the values from the text/xml/config file.
As I understand, I'll need to do some file IO for the writing and reading to file part, but I havent been able to figure out how to approach the bit for accessing content browser assets in code. Could someone point me in the right direction for that? Am I going wrong in how im logically approaching this?
Any help would be much appreciated! :)
asked Jan 18 '17 at 07:13 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here