public class DefineSound extends DefinitionTag
Modifier and Type | Field and Description |
---|---|
static int |
ADPCM |
static int |
BYTE |
static int |
MONO |
static int |
MP3 |
static int |
NELLYMOSER |
static int |
NONE |
static int |
RATE_11 |
static int |
RATE_22 |
static int |
RATE_44 |
static int |
RATE_5_5 |
static int |
SHORT |
static int |
STEREO |
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
Constructor and Description |
---|
DefineSound() |
DefineSound(int id,
int format,
int rate,
int size,
boolean stereo,
long samples,
int[] data) |
Modifier and Type | Method and Description |
---|---|
SWFTag |
read(int tagID,
SWFInputStream swf,
int len) |
String |
toString() |
void |
write(int tagID,
SWFOutputStream swf) |
getTagType
public static final int NONE
public static final int ADPCM
public static final int MP3
public static final int NELLYMOSER
public static final int RATE_5_5
public static final int RATE_11
public static final int RATE_22
public static final int RATE_44
public static final int BYTE
public static final int SHORT
public static final int MONO
public static final int STEREO
public DefineSound(int id, int format, int rate, int size, boolean stereo, long samples, int[] data)
public DefineSound()
public SWFTag read(int tagID, SWFInputStream swf, int len) throws IOException
read
in class SWFTag
IOException
public void write(int tagID, SWFOutputStream swf) throws IOException
write
in class SWFTag
IOException
public String toString()
toString
in class DefinitionTag
Copyright © 2014. All rights reserved.