Logo Search packages:      
Sourcecode: aften version File versions  Download package

Aften::FrameEncoderInt32 Class Reference

Inheritance diagram for Aften::FrameEncoderInt32:

Aften::FrameEncoder< int >

List of all members.


Detailed Description

The Aften AC3 Encoder for 32bit signed integer samples.

Definition at line 703 of file FrameEncoder.cs.


Public Member Functions

override void Abort ()
 Aborts the encoding. This instance needs to be disposed afterwards.
abstract void Abort ()
 Aborts the encoding. This instance needs to be disposed afterwards.
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
override void Encode (Stream samples, Stream frames)
 Encodes the specified interleaved samples stream and flushes the encoder.
void Encode (TSample[] samples, int samplesPerChannelCount, Stream frames)
 Encodes a part of the specified interleaved samples.
void Encode (TSample[] samples, Stream frames)
 Encodes the specified interleaved samples.
MemoryStream Encode (TSample[] samples, int samplesPerChannelCount)
 Encodes a part of the specified interleaved samples.
MemoryStream Encode (TSample[] samples)
 Encodes the specified interleaved samples.
override void Encode (Array samples, int samplesPerChannelCount, Stream frames)
 Encodes a part of the specified interleaved samples.
abstract void Encode (Stream samples, Stream frames)
 Encodes the specified interleaved samples stream.
MemoryStream Encode (Stream samples)
 Encodes the specified interleaved samples.
abstract void Encode (Array samples, int samplesPerChannelCount, Stream frames)
 Encodes a part of the specified interleaved samples.
void Encode (Array samples, Stream frames)
 Encodes the specified interleaved samples.
MemoryStream Encode (Array samples, int samplesPerChannelCount)
 Encodes a part of the specified interleaved samples.
MemoryStream Encode (Array samples)
 Encodes the specified interleaved samples.
int Encode (unsigned char *frameBuffer, const void *samples, int count)
 Encodes PCM samples to an A/52 frame; returns encoded frame size.
void EncodeAndFlush (Stream samples, Stream frames)
 Encodes the specified interleaved samples stream and flushes the encoder. This instance needs to be disposed afterwards.
MemoryStream EncodeAndFlush (Stream samples)
 Encodes the specified interleaved samples and flushes the encoder. This instance needs to be disposed afterwards.
override void Flush (Stream frames)
 Flushes the encoder und returns the remaining frames. This instance needs to be disposed afterwards.
abstract void Flush (Stream frames)
 Flushes the encoder und returns the remaining frames. This instance needs to be disposed afterwards.
MemoryStream Flush ()
 Flushes the encoder und returns the remaining frames. This instance needs to be disposed afterwards.
 FrameEncoderInt32 (ref EncodingContext context)
 Initializes a new instance of the FrameEncoderInt32 class.
 FrameEncoderInt32 (ref EncodingContext context, RemappingDelegate remap)
 Initializes a new instance of the FrameEncoderInt32 class.
delegate void RemappingDelegate (TSample[] samples, int channels, AudioCodingMode audioCodingMode)
 Delegate for a remapping function.

Static Public Member Functions

static EncodingContext GetDefaultsContext ()
 Gets a default context.
static AftenContext GetDefaultsContext ()
 Gets a context with default values.

Protected Member Functions

static void aften_encode_close (ref EncodingContext context)
static int aften_encode_init (ref EncodingContext context)
void CheckSamplesLength (Array samples)
 Checks the length of the samples array.
override void DoCloseEncoder ()
 Closes the encoder.
abstract void DoCloseEncoder ()
 Closes the encoder.
virtual void OnFrameEncoded (object sender, FrameEventArgs e)
 Called when a frame has been encoded.

Protected Attributes

const string _EqualAmountOfSamples
 Error message EqualAmountOfSamples.

Properties

bool EncodingDone [get, set]
 Gets or sets a value indicating whether encoding is done.

Events

EventHandler< FrameEventArgsFrameEncoded
 Raised when a frame has been encoded.

Private Member Functions

static int aften_encode_frame (ref EncodingContext context, byte[] frameBuffer, int[] samples, int count)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index