BASS.NET API for the Un4seen BASS Audio LibraryEncoderOGGOGG_Bitrate FieldBASS.NET API for the Un4seen BASS Audio Library
-b: Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version:

public int OGG_Bitrate

Field Value

Type: Int32

By default, this produces a VBR encoding, equivalent to using -q or --quality. See the OGG_UseManagedBitrate option to use a managed bitrate targetting the selected bitrate.

Unless the OGG_UseQualityMode is set to this property is NOT evaluated.

To use ABR (average bitrate): set OGG_MinBitrate and OGG_MaxBitrate to 0 (zero).

To use CBR (constant bitrate): specify the exact same value also for OGG_MinBitrate and OGG_MaxBitrate.

See Also