@@ -457,7 +457,7 @@ FREENECTAPI int freenect_get_video_mode_count();
457457 *
458458 * @return A freenect_frame_mode describing the nth video mode
459459 */
460- FREENECTAPI const freenect_frame_mode freenect_get_video_mode (int mode_num );
460+ FREENECTAPI freenect_frame_mode freenect_get_video_mode (int mode_num );
461461
462462/**
463463 * Get the frame descriptor of the current video mode for the specified
@@ -467,7 +467,7 @@ FREENECTAPI const freenect_frame_mode freenect_get_video_mode(int mode_num);
467467 *
468468 * @return A freenect_frame_mode describing the current video mode of the specified device
469469 */
470- FREENECTAPI const freenect_frame_mode freenect_get_current_video_mode (freenect_device * dev );
470+ FREENECTAPI freenect_frame_mode freenect_get_current_video_mode (freenect_device * dev );
471471
472472/**
473473 * Convenience function to return a mode descriptor matching the
@@ -478,7 +478,7 @@ FREENECTAPI const freenect_frame_mode freenect_get_current_video_mode(freenect_d
478478 *
479479 * @return A freenect_frame_mode that matches the arguments specified, if such a valid mode exists; otherwise, an invalid freenect_frame_mode.
480480 */
481- FREENECTAPI const freenect_frame_mode freenect_find_video_mode (freenect_resolution res , freenect_video_format fmt );
481+ FREENECTAPI freenect_frame_mode freenect_find_video_mode (freenect_resolution res , freenect_video_format fmt );
482482
483483/**
484484 * Sets the current video mode for the specified device. If the
@@ -492,7 +492,7 @@ FREENECTAPI const freenect_frame_mode freenect_find_video_mode(freenect_resoluti
492492 *
493493 * @return 0 on success, < 0 if error
494494 */
495- FREENECTAPI int freenect_set_video_mode (freenect_device * dev , const freenect_frame_mode mode );
495+ FREENECTAPI int freenect_set_video_mode (freenect_device * dev , freenect_frame_mode mode );
496496
497497/**
498498 * Get the number of depth camera modes supported by the driver. This includes both RGB and IR modes.
@@ -509,7 +509,7 @@ FREENECTAPI int freenect_get_depth_mode_count();
509509 *
510510 * @return A freenect_frame_mode describing the nth depth mode
511511 */
512- FREENECTAPI const freenect_frame_mode freenect_get_depth_mode (int mode_num );
512+ FREENECTAPI freenect_frame_mode freenect_get_depth_mode (int mode_num );
513513
514514/**
515515 * Get the frame descriptor of the current depth mode for the specified
@@ -519,7 +519,7 @@ FREENECTAPI const freenect_frame_mode freenect_get_depth_mode(int mode_num);
519519 *
520520 * @return A freenect_frame_mode describing the current depth mode of the specified device
521521 */
522- FREENECTAPI const freenect_frame_mode freenect_get_current_depth_mode (freenect_device * dev );
522+ FREENECTAPI freenect_frame_mode freenect_get_current_depth_mode (freenect_device * dev );
523523
524524/**
525525 * Convenience function to return a mode descriptor matching the
@@ -530,7 +530,7 @@ FREENECTAPI const freenect_frame_mode freenect_get_current_depth_mode(freenect_d
530530 *
531531 * @return A freenect_frame_mode that matches the arguments specified, if such a valid mode exists; otherwise, an invalid freenect_frame_mode.
532532 */
533- FREENECTAPI const freenect_frame_mode freenect_find_depth_mode (freenect_resolution res , freenect_depth_format fmt );
533+ FREENECTAPI freenect_frame_mode freenect_find_depth_mode (freenect_resolution res , freenect_depth_format fmt );
534534
535535/**
536536 * Sets the current depth mode for the specified device. The mode
0 commit comments