mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
suffix with 00 instead of 0 in file export
This commit is contained in:
parent
7a05f902ea
commit
b0996371b7
1 changed files with 2 additions and 2 deletions
|
@ -4225,7 +4225,7 @@ void DivEngine::runExportThread() {
|
|||
}
|
||||
|
||||
for (int i=0; i<song.systemLen; i++) {
|
||||
fname[i]=fmt::sprintf("%s_s%d.wav",exportPath,i+1);
|
||||
fname[i]=fmt::sprintf("%s_s%02d.wav",exportPath,i+1);
|
||||
logI("- %s\n",fname[i].c_str());
|
||||
sf[i]=sf_open(fname[i].c_str(),SFM_WRITE,&si[i]);
|
||||
if (sf[i]==NULL) {
|
||||
|
@ -4307,7 +4307,7 @@ void DivEngine::runExportThread() {
|
|||
for (int i=0; i<chans; i++) {
|
||||
SNDFILE* sf;
|
||||
SF_INFO si;
|
||||
String fname=fmt::sprintf("%s_c%d.wav",exportPath,i+1);
|
||||
String fname=fmt::sprintf("%s_c%02d.wav",exportPath,i+1);
|
||||
logI("- %s\n",fname.c_str());
|
||||
si.samplerate=got.rate;
|
||||
si.channels=2;
|
||||
|
|
Loading…
Reference in a new issue