martindevans / SupersonicSound

C# Wrapper For FMOD Studio
Other
29 stars 9 forks source link

#25 #26

Closed HakanL closed 9 years ago

HakanL commented 9 years ago

Incorrect init flags were used for LowLevelSystem

martindevans commented 9 years ago

Well spotted, I'm going to merge this and then push up a helper method that will reduce the chance of this mistake happening in the future

martindevans commented 9 years ago

Added a new casting system, this performs one off sanity checks of your casts (debug mode only, first time you perform a cast). Hopefully if we use this for all the low level casting it will prevent this kind of mistake happening again!

See here for example usage: https://github.com/martindevans/SupersonicSound/blob/master/SupersonicSound/LowLevel/LowLevelSystem.cs#L46

HakanL commented 9 years ago

Very good, thanks!