fix: now using ding.wav 10 times, instead of 10 different wave files
This commit is contained in:
parent
31f8dfd08a
commit
e72a5e1545
|
@ -101,11 +101,8 @@ public class StressTest extends BasicTest {
|
||||||
|
|
||||||
private void loadSamples() throws Exception {
|
private void loadSamples() throws Exception {
|
||||||
al.getError();
|
al.getError();
|
||||||
WaveData data;
|
WaveData data = WaveData.create("ding.wav");
|
||||||
for (int i = 1; i <= 10; i++) {
|
for (int i = 1; i <= 10; i++) {
|
||||||
|
|
||||||
data = WaveData.create(i + ".wav");
|
|
||||||
|
|
||||||
al.bufferData(
|
al.bufferData(
|
||||||
buffers.get(i - 1),
|
buffers.get(i - 1),
|
||||||
data.format,
|
data.format,
|
||||||
|
@ -120,6 +117,7 @@ public class StressTest extends BasicTest {
|
||||||
alExit();
|
alExit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
data.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void runTest() {
|
public void runTest() {
|
||||||
|
|
Loading…
Reference in New Issue