mpExperienceSiri: let the user specify the autocorking value
This commit is contained in:
parent
758933b342
commit
2fbd82e212
@ -43,8 +43,6 @@ class MpExperienceSiri(MpExperience):
|
|||||||
self.max_payload_size = self.xpParam.getParam(MpParamXp.SIRIMAXPAYLOADSIZE)
|
self.max_payload_size = self.xpParam.getParam(MpParamXp.SIRIMAXPAYLOADSIZE)
|
||||||
self.interval_time_ms = self.xpParam.getParam(MpParamXp.SIRIINTERVALTIMEMS)
|
self.interval_time_ms = self.xpParam.getParam(MpParamXp.SIRIINTERVALTIMEMS)
|
||||||
self.buffer_size = self.xpParam.getParam(MpParamXp.SIRIBUFFERSIZE)
|
self.buffer_size = self.xpParam.getParam(MpParamXp.SIRIBUFFERSIZE)
|
||||||
# Little trick here
|
|
||||||
self.xpParam.defaultValue[MpParamXp.AUTOCORK] = "0"
|
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
MpExperience.prepare(self)
|
MpExperience.prepare(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user