Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 44c977b

Browse files
committed
Fixed code deprecation
1 parent f70898e commit 44c977b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/mrjulsen/mineify/sound/ModifiedOggAudioStream.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public ModifiedOggAudioStream(SoundBuffer pInput) throws IOException {
5858
}
5959

6060
this.buffer.position(this.buffer.position() + intbuffer.get(0));
61-
STBVorbisInfo stbvorbisinfo = STBVorbisInfo.mallocStack(memorystack);
61+
STBVorbisInfo stbvorbisinfo = STBVorbisInfo.malloc(memorystack);
6262
STBVorbis.stb_vorbis_get_info(this.handle, stbvorbisinfo);
6363
this.audioFormat = new AudioFormat((float)stbvorbisinfo.sample_rate(), 16, stbvorbisinfo.channels(), true, false);
6464
} catch (Throwable throwable1) {

0 commit comments

Comments
 (0)