Build AsminVoicechat / prepare-release (push) Successful in 14s
Build AsminVoicechat / build-and-test (17) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (18) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (19) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (20) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (21) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (22) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (23) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (24) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (25) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (26) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (27-ea) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (16) (push) Canceled after 38s
42 lines
985 B
Java
42 lines
985 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package de.maxhenkel.voicechat.plugins.impl.audio;
|
|
|
|
import de.maxhenkel.voicechat.api.audio.AudioConverter;
|
|
import de.maxhenkel.voicechat.voice.common.AudioUtils;
|
|
|
|
public class AudioConverterImpl
|
|
implements AudioConverter {
|
|
@Override
|
|
public short[] bytesToShorts(byte[] bytes) {
|
|
return AudioUtils.bytesToShorts(bytes);
|
|
}
|
|
|
|
@Override
|
|
public byte[] shortsToBytes(short[] shorts) {
|
|
return AudioUtils.shortsToBytes(shorts);
|
|
}
|
|
|
|
@Override
|
|
public short[] floatsToShorts(float[] floats) {
|
|
return AudioUtils.floatsToShorts(floats);
|
|
}
|
|
|
|
@Override
|
|
public float[] shortsToFloats(short[] shorts) {
|
|
return AudioUtils.shortsToFloats(shorts);
|
|
}
|
|
|
|
@Override
|
|
public byte[] floatsToBytes(float[] floats) {
|
|
return AudioUtils.floatsToBytes(floats);
|
|
}
|
|
|
|
@Override
|
|
public float[] bytesToFloats(byte[] bytes) {
|
|
return AudioUtils.bytesToFloats(bytes);
|
|
}
|
|
}
|
|
|