Function cybergrape::saf_raw::binauraliserNF_initCodec
source ยท pub unsafe extern "C" fn binauraliserNF_initCodec(hBin: *mut c_void)
Expand description
Intialises the codec variables, based on current global/user parameters
@note This function is fully threadsafe. It can even be called periodically via a timer on one thread, while calling _process() on another thread. Since, if a set function is called (that warrants a re-init), then a flag is triggered internally and the next time this function is called, it will wait until the current process() function has completed before reinitialising the relevant parameters. If the _initCodec() takes longer than the time it takes for process() to be called again, then process() is simply bypassed until the codec is ready. @note This function does nothing if no re-initialisations are required.
@param[in] hBin binauraliser handle