Fixed compilation errors due to initial blind-coding

The include compiles fine now, the functions are pretty simple so they should work. When the FS is tested, that uses all the functions apart from IsValidSound (which is simple) so that will confirm that each function works as expected.