mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
wait what am I doing?
This commit is contained in:
parent
8d72d2f2d0
commit
e75f23fa61
1 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ bool DivSample::save(const char* path) {
|
|||
break;
|
||||
}
|
||||
default:
|
||||
sf_write_raw(f,data16,length16);
|
||||
sf_writef_short(f,data16,samples);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -909,7 +909,7 @@ void DivSample::render() {
|
|||
data8[i]=data16[i]>>8;
|
||||
}
|
||||
}
|
||||
if (depth!=DIV_SAMPLE_DEPTH_VOX) { // BRR
|
||||
if (depth!=DIV_SAMPLE_DEPTH_BRR) { // BRR
|
||||
if (!initInternal(DIV_SAMPLE_DEPTH_BRR,samples)) return;
|
||||
// TODO: loop point
|
||||
brrEncode(data16,dataBRR,samples,0);
|
||||
|
|
Loading…
Reference in a new issue