shithub: sf2mid

Download patch

ref: 09d7b36992fab75e1a4a731716f1ed9cd050283d
parent: 6925578b0372d25ba0ac77810fdb38e87830f723
author: Mister Hat <misterhat144@gmail.com>
date: Mon Feb 6 12:47:22 EST 2023

fix tab formatting

--- a/tsf.h
+++ b/tsf.h
@@ -884,7 +884,7 @@
 
 // load s16 samples into f32 floatSamples
 static void tsf_convert_samples(short *samples, float *floatSamples, int sampleCount) {
-    int i;
+	int i;
 	for (i = 0; i < sampleCount; i++) {
 		floatSamples[i] = (float)(samples[i] / 32767.0);
 	}
@@ -894,7 +894,7 @@
 static int tsf_decode_vorbis_samples(struct tsf_hydra *hydra, char *smplBuffer, float **fontSamples, int *fontSampleCount) {
 	float *shdrSamples[hydra->shdrNum];
 	unsigned int shdrBufferLengths[hydra->shdrNum];
-    int i;
+	int i;
 
 	for (i = 0; i < hydra->shdrNum; i++) {
 		shdrSamples[i] = TSF_NULL;