lib/cracked/cracked.js
/**
* helper function for buffer & reverb
* @function
* @private
*/
helper function for buffer & reverb
helper function for buffer & reverb
function loadBuffer(userParams, node) {
    if (userParams && userParams.path && node) {
        loadBufferFromFile(userParams.path, node.getNativeNode());
    } else if (userParams && userParams.fn && node) {
        loadBufferWithData(userParams.fn, node.getNativeNode());
    }
}
function loadBuffer ( userParams , node ) { if ( userParams && userParams . path && node ) { loadBufferFromFile ( userParams . path , node . getNativeNode ( ) ) ; } else if ( userParams && userParams . fn && node ) { loadBufferWithData ( userParams . fn , node . getNativeNode ( ) ) ; } }
helper function for buffer & reverb
helper function for buffer & reverb