fixed issue where Wav Decoder only returned 0's
This commit is contained in:
@@ -128,8 +128,7 @@ public class WavDecoder {
|
||||
|
||||
for (int i = 0; i < samples.length; i++) {
|
||||
try {
|
||||
|
||||
int currentSample = 0;
|
||||
float currentSample = 0;
|
||||
for (int channel = 0; channel < getChannels(); channel++) {
|
||||
currentSample += readLittleEndianShort();
|
||||
}
|
||||
|
Reference in New Issue
Block a user