be.tarsos.dsp.writer.WaveHeader.class Maven / Gradle / Ivy
???? 3 ?
! Z [ \ ] ^ _ `
a b c
d e f
g
h i j k l
m n
m o
p q r
Z
s t
u
v
w
x
y z { |
} ~
?
m ?
HEADER_LENGTH I
ConstantValue ,
FORMAT_PCM S FORMAT_ALAW FORMAT_ULAW mFormat mNumChannels mSampleRate mBitsPerSample mNumBytes ()V Code (SSISI)V getFormat ()S setFormat $(S)Lbe/tarsos/dsp/writer/WaveHeader; getNumChannels setNumChannels
getSampleRate ()I
setSampleRate $(I)Lbe/tarsos/dsp/writer/WaveHeader; getBitsPerSample setBitsPerSample getNumBytes setNumBytes read (Ljava/io/InputStream;)I
StackMapTable
Exceptions readId *(Ljava/io/InputStream;Ljava/lang/String;)V readInt readShort (Ljava/io/InputStream;)S write (Ljava/io/OutputStream;)I writeId +(Ljava/io/OutputStream;Ljava/lang/String;)V writeInt (Ljava/io/OutputStream;I)V
writeShort (Ljava/io/OutputStream;S)V toString ()Ljava/lang/String; 5 6 0 * 2 & 1 * 3 * 4 & RIFF K L WAVE fmt M H java/io/IOException fmt chunk length not 16 5 ? N O fmt.ByteRate field inconsistent !fmt.BlockAlign field inconsistent data be/tarsos/dsp/writer/WaveHeader ? ? @ ? ? ? G @ java/lang/StringBuilder ? ? tag not present X Y R S T U V W ? P ? NWaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d java/lang/Object ? ? ? ? ? ? ? ? (Ljava/lang/String;)V java/lang/String length charAt (I)C java/io/InputStream append -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/io/OutputStream (I)V java/lang/Short valueOf (S)Ljava/lang/Short; java/lang/Integer (I)Ljava/lang/Integer; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ! ! % &