Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

键音包中. 若用户删除了其中某个 音频源文件 , 则一系列以此为基础的内容和逻辑该如何处置。 #51

Open
LuSrackhall opened this issue Dec 25, 2024 · 0 comments

Comments

@LuSrackhall
Copy link
Owner

LuSrackhall commented Dec 25, 2024

首先, 即使在某个按键播放音频时遇到了错误, 也要保证中途sdk的稳定性和可靠性, 避免发生影响整个软件的灾难性bug。

目前, 若播放所依赖的源文件路径中找不到文件, 按现有程序逻辑, 会直接进行panic处理。 但实际上, 这种直接进行panic处理逻辑太过度了, 按照keytone软件的使用场景, 保证sdk稳定不退出才是重中之重。

因此需要移除现有手工panic的相关逻辑 --> 用记录错误到日志文件的形式来代替原有panic, 从而保证sdk的始终可以稳定运行。

@LuSrackhall LuSrackhall changed the title 键音包中. 若用户删除了其中某个 音频源文件 , 则一系列依赖此未基础的内容和逻辑该如何处置。 键音包中. 若用户删除了其中某个 音频源文件 , 则一系列以此为基础的内容和逻辑该如何处置。 Dec 25, 2024
LuSrackhall added a commit that referenced this issue Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant