
META-INF.modules.java.desktop.classes.com.sun.media.sound.WaveFileReader.class Maven / Gradle / Ivy
???? @ ?
!com/sun/media/sound/SunFileReader ()V java/io/DataInputStream
(Ljava/io/InputStream;)V
readInt ()I
"com/sun/media/sound/WaveFileReader rllong (Ljava/io/DataInputStream;)I ???? javax/sound/sampled/AudioSystem???????? "com/sun/media/sound/WaveFileFormatRIFFWAVE # 1javax/sound/sampled/UnsupportedAudioFileException % not a WAVE file
" ' ( (Ljava/lang/String;)Vfmt
+ , - skipBytes (I)I / java/io/EOFException 1 Not a valid WAV file
3 4 5 rlshort (Ljava/io/DataInputStream;)S 7 8 9 : ; (javax/sound/sampled/AudioFormat$Encoding
PCM_SIGNED *Ljavax/sound/sampled/AudioFormat$Encoding; 7 = > ; ALAW 7 @ A ; ULAW C Not a supported WAV file E Invalid number of channels G Invalid bitsPerSample
7 I J K equals (Ljava/lang/Object;)Z 7 M N ; PCM_UNSIGNEDdata
Q R S calculatePCMFrameSize (II)I U javax/sound/sampled/AudioFormat
T W X 3(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
T Z [ getFrameSize ] ^ _ ` a (javax/sound/sampled/AudioFileFormat$Type WAVE *Ljavax/sound/sampled/AudioFileFormat$Type;
c d P(Ljavax/sound/sampled/AudioFileFormat$Type;JLjavax/sound/sampled/AudioFormat;J)V
f g h getAudioInputStream =(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream; Code LineNumberTable LocalVariableTable this $Lcom/sun/media/sound/WaveFileReader; getAudioFileFormatImpl ?(Ljava/io/InputStream;)Lcom/sun/media/sound/StandardFileFormat; totallength J fmt I eof Ljava/io/EOFException;
thisLength datahdr stream Ljava/io/InputStream; nread length wav_type channels S
sampleRate avgBytesPerSec
blockAlign sampleSizeInBits encoding dis Ljava/io/DataInputStream; magic
fileLength waveMagic endLength
dataLength frameSize format !Ljavax/sound/sampled/AudioFormat; frameLength
StackMapTable ? java/io/InputStream
Exceptions ? java/io/IOException
SourceFile WaveFileReader.java InnerClasses Encoding ? #javax/sound/sampled/AudioFileFormat Type 1 i / *? ? j - k l m n o i ? =66:
? Y+? :? 6*? ? 7? 6 ?? 7 7? a7 ?
!?
? "Y$? &?? >?)? ? 1*? 6?p? ?? *`=???:? "Y0? &?*? 6?`6*? 26?? ? 6:
? +? ? <:
? ? ? ?:
?
? "YB? &?*? 26??
? "YD? &?*? ?7?*? ?7 ?*? 26?*? 26??
? "YF? &??
? 6? H? ? L:
p? ?? d? *`==? 6?O? ? 1*? 6?p? ?? *`=???:? "Y0? &?*? ? 7?? P6? TY
??? V:? Y?m7? Y? \? b? d s ? . v ? ? .??? .??? . j
B 5 7 8 > @ B C ) D 0 F 7 G <