File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,23 +47,38 @@ typedef enum CamError
4747 CAMERA_ERROR_UVD_SESSION = -13 ,
4848 CAMERA_ERROR_SEGMENT_VIOLATION = -15
4949} CamError ;
50+ WUT_CHECK_SIZE (CamError , 0x4 );
5051
5152typedef enum CamFps
5253{
5354 CAMERA_FPS_15 = 0 ,
5455 CAMERA_FPS_30 = 1
5556} CamFps ;
57+ WUT_CHECK_SIZE (CamFps , 0x4 );
5658
59+ //! Stream type. There is only one valid stream type
5760typedef enum CamStreamType
5861{
5962 CAMERA_STREAM_TYPE_1 = 0
6063} CamStreamType ;
64+ WUT_CHECK_SIZE (CamStreamType , 0x4 );
6165
66+ //! Type of event received by the event handler
6267typedef enum CamEventType
6368{
69+ //! Frame was captured, decoded and copied to a submitted surface
6470 CAMERA_DECODE_DONE = 0 ,
71+ //! Wii U Gamepad disconnected
6572 CAMERA_DRC_DETACH = 1
6673} CamEventType ;
74+ WUT_CHECK_SIZE (CamEventType , 0x4 );
75+
76+ typedef enum CamForceDRC
77+ {
78+ CAMERA_FORCE_DRC_OFF = 0 ,
79+ CAMERA_FORCE_DRC_ON = 1
80+ } CamForceDRC ;
81+ WUT_CHECK_SIZE (CamForceDRC , 0x4 );
6782
6883struct CAMEventData
6984{
@@ -104,8 +119,8 @@ typedef void (*CAMEventHandler)(CAMEventData *camEventData);
104119
105120struct CAMMode
106121{
107- //! If TRUE, the GamePad will display the camera output regardless of what is being rendered
108- BOOL forceDrc ;
122+ //! Controls whether GamePad will display the camera output ( regardless of rendered content)
123+ CamForceDRC forceDrc ;
109124 //! Framerate setting
110125 CamFps fps ;
111126};
You can’t perform that action at this time.
0 commit comments