BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_ChannelColorRange Method (Int32, BASSDSHOWColorControl)BASS.NET API for the Un4seen BASS Audio Library
Retrieves the color controls range (min,max,step).

Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static BASS_DSHOW_COLORRANGE BASS_DSHOW_ChannelColorRange(
	int handle,
	BASSDSHOWColorControl id
)

Parameters

handle
Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)).
id
Type: Un4seen.Bass.AddOn.DShowBASSDSHOWColorControl
One of the following (see BASSDSHOWColorControl):
BASS_DSHOW_ControlBrightnessUse this to get the brightness value ranges.
BASS_DSHOW_ControlContrastUse this to get the contrast value ranges.
BASS_DSHOW_ControlHueUse this to get the hue value ranges.
BASS_DSHOW_ControlSaturationUse this to get the saturation value ranges.

Return Value

Type: BASS_DSHOW_COLORRANGE
If an error occurred then is returned, else an instance of BASS_DSHOW_COLORRANGE is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks

This function was tested successfully on VMR9. It may work on other renderers and also will depend on the hardware capabilities.
See Also

Reference