fixed issue where Wav Decoder only returned 0's
This commit is contained in:
parent
17049220c2
commit
ad0138c489
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user