// FindEffect finds the effect handler with the given name. func FindEffect(name string) *EffectHandler { var h EffectHandler cname := C.CString(name) h.cHandler = C.sox_find_effect(cname) C.free(unsafe.Pointer(cname)) return &h }
/* Search for effect by name. nil is returned if nothing found. */ func FindEffect(name string) *Effect { return newEffect(C.sox_find_effect(C.CString(name))) }