Packageorg.as3wavsound.sazameki.format.wav
Classpublic class Wav
InheritanceWav Inheritance RIFF Inheritance LIST Inheritance Chunk Inheritance Object

The WAVE decoder used for playing back wav files.



Public Properties
 PropertyDefined By
 Inheritedid : String
Chunk
 Inheritedtype : String
LIST
Protected Properties
 PropertyDefined By
 Inherited_chunks : Vector.<Chunk>
LIST
 Inherited_id : String
Chunk
 Inherited_type : String
LIST
Public Methods
 MethodDefined By
  
Wav()
Wav
  
decode(wavData:ByteArray, setting:AudioSetting):AudioSamples
Wav
  
encode(samples:AudioSamples):ByteArray
Wav
 Inherited
toByteArray():ByteArray
Chunk
Protected Methods
 MethodDefined By
 Inherited
encodeData():ByteArray
[override]
LIST
 Inherited
splitList(bytes:ByteArray):Object
LIST
Protected Constants
 ConstantDefined By
 InheritedENDIAN : String = littleEndian
Chunk
Constructor Detail
Wav()Constructor
public function Wav()



Method Detail
decode()method
public function decode(wavData:ByteArray, setting:AudioSetting):AudioSamples

Parameters

wavData:ByteArray
 
setting:AudioSetting

Returns
AudioSamples
encode()method 
public function encode(samples:AudioSamples):ByteArray

Parameters

samples:AudioSamples

Returns
ByteArray