What is the prefered way to create a pcm-stream that is continually loaded with new audio each frame? I tried modifying ‘usercreatedsound’ by calling FMOD_CHANNEL::SetPosition manually when close to the end of the pcm-buffer and it made a pop ( probably obvious this solution would not work ).

When running the app ‘usercreatedsound’ I put a breakpoint in the ‘pcmreadcallback’ callback. The breakpoint gets hit several times, but eventually it will no longer break. Therefor it seems that there’s something else that needs to be done to continually feed data to the pcm-buffer. Maybe I need to call SetPosition(0) every so often? When I did that though there were pops.