def LoadParamValue(module, tbl, pname):
	if not pname in []:
		return
	fullname = module.ModName + ':' + pname
	#print('Called LoadParamValue callback', 'pname=', pname, 'fullname=', fullname, 'module=', module, 'me=', me, 'tbl=', tbl)
	val = tbl[fullname, 1]
	if val is None or val == '':
		return
	#if pname == 'xfade':
	#	op('blend').par.Xfade = float(val)
	#	return True
	#elif pname == 'blendop':
	#	op('blend').par.Blendop = val
	#	return True
	#elif pname == 'swap':
	#	op('blend').par.Swaporder = float(val) > 0.5
	#	return True

def SaveParamValue(module, tbl, pname):
	if not pname in []:
		return
	fullname = module.ModName + ':' + pname
	val = None
	#if pname == 'xfade':
	#	val = round(op('blend').par.Xfade.val, 4)
	#elif pname == 'blendop':
	#	val = op('blend').par.Blendop.val
	#elif pname == 'swap':
	#	val = 1 if op('blend').par.Swaporder.val else 0
	if val is None:
		return
	mod.vjzual.updateTableRow(tbl, fullname, {'value': val}, addMissing=True)
	return True