replay.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:cebl 作者: idfah 项目源码 文件源码
def beforeStart(self):
        """Set things up for starting the source.
        """
        if self.replayData is None:
            try:
                if self.loadFile() == wx.ID_CANCEL:
                    wx.LogError('Failed to load data!')
                    # maybe play some default data instead of bombing? XXX - idfah
                    raise Exception('Critical file load canceled.')
            except Exception:
                raise

        self.shift = self.pollSize / float(self.sampRate)
        self.pollDelay = -1.0
        self.lastPollTime = -1.0
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号