Sets new values to color controls.
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_ChannelSetColors")] public static bool BASS_DSHOW_ChannelSetColors( int handle, BASSDSHOWColorControl id, BASS_DSHOW_VIDEOCOLORS colors )
Parameters
- handle
- Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)). - id
- Type: Un4seen.Bass.AddOn.DShowBASSDSHOWColorControl
Any combination of the following flags (see BASSDSHOWColorControl):BASS_DSHOW_ControlBrightness Use this to set the brightness value. BASS_DSHOW_ControlContrast Use this to set the contrast value. BASS_DSHOW_ControlHue Use this to set the hue value. BASS_DSHOW_ControlSaturation Use this to set the saturation value. - colors
- Type: Un4seen.Bass.AddOn.DShowBASS_DSHOW_VIDEOCOLORS
An instance of the BASS_DSHOW_VIDEOCOLORS structure to apply the color changes from.
Return Value
Type: BooleanIf an error occurred then is returned, else is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks
See Also