refactor(tracker): use the Broker to communicate when exporting wav

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-11-02 20:08:48 +02:00
parent ee3ab3bf86
commit b73fc0b95b
2 changed files with 8 additions and 11 deletions

View File

@ -253,7 +253,7 @@ func (t *Tracker) showDialog(gtx C) {
filename = p[:len(p)-len(filepath.Ext(p))] + ".wav"
}
t.explorerCreateFile(func(wc io.WriteCloser) {
t.WriteWav(wc, t.Dialog() == tracker.ExportInt16Explorer, t.execChan)
t.WriteWav(wc, t.Dialog() == tracker.ExportInt16Explorer)
}, filename)
}
}