BASS.NET API for the Un4seen BASS Audio LibraryEncoderOGGOGG_Quality FieldBASS.NET API for the Un4seen BASS Audio Library
-q: Specify quality between -2 (low) and 10 (high) (default=4), instead of specifying a particular bitrate (OGG_Bitrate).

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

public float OGG_Quality

Field Value

Type: Single

This is the normal, default mode of operation. Fractional qualities (e.g. 2.75) are permitted.

If you enable the Quality-Mode (OGG_UseQualityMode is set to , default) only this value is being evaluated.

If you disable the Quality-Mode (OGG_UseQualityMode is set to ) this value is being ignored.

Here is a list about approximate Quality to Bitrate mappings:

-2approx. 32 kbps
-1approx. 48 kbps
0approx. 64 kbps
1approx. 80 kbps
2approx. 96 kbps
3approx. 112 kbps
4approx. 128 kbps
5approx. 160 kbps
6approx. 192 kbps
7approx. 224 kbps
8approx. 256 kbps
9approx. 320 kbps
10approx. 498! kbps

See Also