Show / Hide Table of Contents

Enum EncodeFlags

BassEnc Start flags for use with EncodeStart(Int32, String, EncodeFlags, EncodeProcedure, IntPtr).

Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Enc.dll
Syntax
public enum EncodeFlags : int

AIFF

Send an AIFF header to the encoder instead of a WAVE header.

AutoFree

Free the encoder when the channel is freed.

BigEndian

Big-Endian sample data.

ConvertFloatAuto

Convert floating-point sample data back to channel's format.

ConvertFloatTo16BitInt

Convert floating-point sample data to 16-bit integer.

ConvertFloatTo24Bit

Convert floating-point sample data to 24-bit integer.

ConvertFloatTo32Bit

Convert floating-point sample data to 32-bit integer.

ConvertFloatTo8BitInt

Convert floating-point sample data to 8-bit integer.

Default

Default option, incl. wave header, little-endian and no FP conversion.

Dither

Apply dither when converting floating-point sample data to integer.

Limit

Limit data rate to real-time. Limit the data rate to real-time speed, by introducing a delay when the rate is too high. With BASS 2.4.6 or above, this flag is ignored when the encoder is fed in a playback Buffer update cycle (including Update(Int32) and ChannelUpdate(Int32, Int32) calls), to avoid possibly causing playback Buffer underruns. Except for in those instances, this flag is applied automatically when the encoder is feeding a Shoutcast or Icecast server.

Mono

Convert to mono (if not already).

NoHeader

Do NOT send a WAV header to the encoder.

Pause

Start the encoder paused.

PCM

Write PCM sample data (no encoder).

Queue

Queue data to feed encoder asynchronously. The queue Buffer will grow as needed to fit the data, but its size can be limited by the Queue config option (0 = no limit); The default is 10000ms. If the queue reaches the size limit and data is lost, the QueueFull notification will be triggered.

RF64

Write RF64 WAV header (no encoder).

Unicode

Cmdline is Unicode (16-bit characters).

UnlimitedCastDataRate

Don't limit the data rate (to real-time speed) when sending to a Shoutcast or Icecast server. With this option you might disable the rate limiting during casting (as it'll be limited by the playback rate anyway if the source channel is being played).

WaveFormatExtensible

Send the sample format information to the encoder in WAVEFORMATEXTENSIBLE form instead of WAVEFORMATEX form. This flag is ignored if the NoHeader flag is used.

Back to top Copyright © 2017 Mathew Sachin
Generated by DocFx