fix: source save

This commit is contained in:
liuyihui 2022-06-03 12:20:35 +08:00
parent 15e3d30cdb
commit 8d31557178
1 changed files with 2 additions and 1 deletions

View File

@ -383,8 +383,9 @@ void CMainFrame::OnOptSave()
CString szfile = fileDlg.GetPathName();
std::ofstream ofs(szfile);
std::string str = CStringA(pView->m_sSource);
ofs << pView->m_nTime << std::endl;
ofs << pView->m_sSource << std::endl;
ofs << str.c_str() << std::endl;
for (int i = 0; i < 1024; i++)
ofs << i << ", " << pDoc->m_nChannelCount[i] << std::endl;