I am new on this forum and also new in using of the Bass library. I selected it for my c++ projects, main reason was that Fmod and Openal were not compilable with g++ on my Windows machine, second reason is that I like Bass solution, its way used for sound managing.
I have already built few projects and now working on wrapper to make work with many sounds easier, hovever I found one problem. I created class named sound with two variables (HSAMPLE and HCHANNEL) and three methods (load, play, play_wait). My image is that programmer simply one time calls load function which loads wanted sound to the memory and play function when playing is needed. This structure was also in my previously used language, also fmod was constructed by this way and few other libraries, so I thought it will be the same here. Hovever I can not reach it, library don't want to accept my call of SampleSetInfo with change about looped playing (I read in manual that it is normal, I don't understand why), only that I can do is set it in load method, hovever that is inefficient for my purpose, many sounds are loaded on program start when I as programmer don't know if playing in loop will be necessary or not, also both can be applyed and in that case sound must to be loaded more times than needed. Is it there some way to set looping while or before playing? I know that few loads are not too hard, hovever it require minimally change of my wrapper, especially part with automatic sounds managing system.
And my second question is about 3D audio in Bass, I plan to use also this feature. Is there a way to implement hrtf technology in it? In games that I am working on accurate 3D audio is important, so I appreciate as high quality as possible. Of course it is not condition, I never worked with hrtf and things was okay, I asking only for interest.
Thank you in advance for answers, I hope I will get some more practice with this library in future.