mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
fix sample saving
This commit is contained in:
parent
30e60f643c
commit
28e7b86728
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ bool DivSample::save(const char* path) {
|
|||
}
|
||||
sf_command(f, SFC_SET_INSTRUMENT, &inst, sizeof(inst));
|
||||
|
||||
sf_write_short(f,data16,length16);
|
||||
sf_writef_short(f,data16,samples);
|
||||
|
||||
sf_close(f);
|
||||
|
||||
|
|
Loading…
Reference in a new issue