-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map OggAudioStream and some related stuff (#639)
* Map OggAudioStream and some related stuff * Fix "MAX_SAMPLES" meaning
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
mappings/net/minecraft/client/sound/BufferedAudioStream.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CLASS net/minecraft/unmapped/C_sotxsrbb net/minecraft/client/sound/BufferedAudioStream | ||
FIELD f_iciccron EXPECTED_MAX_FRAME_SIZE I | ||
METHOD m_oxmnkscz readFrame (Lit/unimi/dsi/fastutil/floats/FloatConsumer;)Z | ||
ARG 1 output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CLASS net/minecraft/unmapped/C_hwtbkxpz net/minecraft/client/sound/ChannelList | ||
FIELD f_bfvadbcu currentBufferSize I | ||
FIELD f_bztfudnt buffers Ljava/util/List; | ||
FIELD f_nadhdvvb buffer Ljava/nio/ByteBuffer; | ||
FIELD f_yoooifrn size I | ||
METHOD <init> (I)V | ||
ARG 1 bufferSize | ||
METHOD accept addChannel (F)V | ||
ARG 1 data | ||
METHOD m_tbwtswjb getBuffer ()Ljava/nio/ByteBuffer; | ||
METHOD m_vcsjohlh getCurrentBufferSize ()I |
2 changes: 2 additions & 0 deletions
2
mappings/net/minecraft/client/sound/FiniteAudioStream.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CLASS net/minecraft/unmapped/C_sxqhbpzn net/minecraft/client/sound/FiniteAudioStream | ||
METHOD m_lmmmaoqk getBuffer ()Ljava/nio/ByteBuffer; |
43 changes: 43 additions & 0 deletions
43
mappings/net/minecraft/client/sound/OggAudioStream.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
CLASS net/minecraft/unmapped/C_osybdcpo net/minecraft/client/sound/OggAudioStream | ||
FIELD f_bnzdhjzq EXPECTED_MAX_FRAME_SIZE I | ||
FIELD f_ctqdwixq totalSamplesInStream J | ||
FIELD f_dgqtinlj state Lcom/jcraft/jogg/StreamState; | ||
FIELD f_djhpehah soundProcessor Lcom/jcraft/jorbis/DspState; | ||
FIELD f_ejavwrtw inputStream Ljava/io/InputStream; | ||
FIELD f_euzzfoxr samplesWritten J | ||
FIELD f_mdavmxfj syncState Lcom/jcraft/jogg/SyncState; | ||
FIELD f_pilmrhpz frame Lcom/jcraft/jogg/Page; | ||
FIELD f_qlbmiuko rawAudioFrame Lcom/jcraft/jogg/Packet; | ||
FIELD f_qtbdzokq processedAudioFrame Lcom/jcraft/jorbis/Block; | ||
FIELD f_vzbyyvhw format Ljavax/sound/sampled/AudioFormat; | ||
FIELD f_wahodjuq properties Lcom/jcraft/jorbis/Info; | ||
METHOD <init> (Ljava/io/InputStream;)V | ||
ARG 1 inputStream | ||
METHOD close close ()V | ||
METHOD m_asdsaorv readAllChannels ([[FI[IJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V | ||
ARG 0 channelBuffers | ||
ARG 1 channelCount | ||
ARG 2 startIndexes | ||
ARG 3 samplesToWrite | ||
ARG 5 output | ||
METHOD m_bimljqtb readPage ()Lcom/jcraft/jogg/Page; | ||
METHOD m_bywsuebv getSampleToWrite (I)J | ||
ARG 1 samples | ||
METHOD m_bzwaelxt getRawAudio ()Lcom/jcraft/jogg/Packet; | ||
METHOD m_eeeoajbz readMono ([FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V | ||
ARG 0 buf | ||
ARG 1 startIndex | ||
ARG 2 samplesToWrite | ||
ARG 4 output | ||
METHOD m_izjvnksj readStereo ([FI[FIJLit/unimi/dsi/fastutil/floats/FloatConsumer;)V | ||
ARG 0 leftBuf | ||
ARG 1 leftStartIndex | ||
ARG 2 rightBuf | ||
ARG 3 rightStartIndex | ||
ARG 4 samplesToWrite | ||
ARG 6 output | ||
METHOD m_nceiwgbq isInvalid (I)Z | ||
ARG 0 state | ||
METHOD m_sszxrscr isFinished ()Z | ||
METHOD m_vdfmjcwj getPacket (Lcom/jcraft/jogg/Page;)Lcom/jcraft/jogg/Packet; | ||
ARG 1 page |
3372129
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With commit 3372129, 1 file(s) were updated with 3 line(s) added and 5 removed compared to the latest Quilt Mappings version.
View the diff here: