fix cmd stream corruption when cmd stream playing

This commit is contained in:
tildearrow 2025-04-08 03:30:56 -05:00
parent a2c745cb10
commit b946f08122
2 changed files with 7 additions and 0 deletions

View file

@ -206,6 +206,7 @@ void FurnaceGUI::drawCSPlayer() {
}
ImGui::SameLine();
if (ImGui::Button(_("Burn Current Song"))) {
e->killStream();
SafeWriter* w=e->saveCommand(NULL,csExportDisablePass);
if (w!=NULL) {
if (!e->playStream(w->getFinalBuf(),w->size())) {