C# Class csadpcm.ImaAdpcm

Inheritance: Stream
Mostrar archivo Open project: mono/mooncodecs Class Usage Examples

Public Properties

Property Type Description
BlockAlign ushort
Channels ushort
SamplesPerSec int

Public Methods

Method Description
Abort ( string message ) : Exception
DecodeSamples ( ) : IEnumerable
Flush ( ) : void
IMA_ADPCM ( Stream stream ) : System
ImaAdpcm ( Stream stream ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
DecodeBlock ( int n ) : byte[]
ReadBytes ( int length ) : byte[]
ReadID ( ) : string
ReadInt32 ( ) : int
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint

Method Details

Abort() public method

public Abort ( string message ) : Exception
message string
return System.Exception

DecodeSamples() public method

public DecodeSamples ( ) : IEnumerable
return IEnumerable

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

IMA_ADPCM() public method

public IMA_ADPCM ( Stream stream ) : System
stream Stream
return System

ImaAdpcm() public method

public ImaAdpcm ( Stream stream ) : System
stream Stream
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Property Details

BlockAlign public_oe property

public ushort BlockAlign
return ushort

Channels public_oe property

public ushort Channels
return ushort

SamplesPerSec public_oe property

public int SamplesPerSec
return int