Gets the available audio or video capture device profiles.
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_CaptureDeviceProfiles")] public static int BASS_DSHOW_CaptureDeviceProfiles( int device, BASSDSHOWCapture deviceType, ENUMPROFILESPROC proc, IntPtr user )
Parameters
- device
- Type: SystemInt32
The device you want to get then profiles from (see BASS_DSHOW_CaptureGetDevices(BASSDSHOWCapture, ENUMDEVICESPROC, IntPtr)). - deviceType
- Type: Un4seen.Bass.AddOn.DShowBASSDSHOWCapture
The type of capture device to get (one of the BASSDSHOWCapture values, either audio or video). - proc
- Type: Un4seen.Bass.AddOn.DShowENUMPROFILESPROC
The user defined callback receiving the available capture devices (see ENUMPROFILESPROC). - user
- Type: SystemIntPtr
User instance data to pass to the callback function.
Return Value
Type: Int32If successful, the number of available capture device profiles are returned - else 0 is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
See Also