Refactor API functions to improve parameter aliasing and enhance documentation clarity

This commit is contained in:
2025-05-18 15:03:21 +02:00
parent b595bc5573
commit cbed6108ef
22 changed files with 165 additions and 170 deletions

View File

@@ -1,11 +1,13 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param codecID 1836070006
---@param 1635148593
---@param 1768124260
---@param 1835692129
---@param 1836070006
---@return boolean isSupported
---@alias codecID
---| 1635148593 - H.264 - supported natively by Apple devices like the iPod, iPhone and AppleTV; best ratio quality/size but slowest to compress
---| 1768124260 - Apple Intermediate Codec - fastest to compress, but exclusive to Mac OS X
---| 1835692129 - Motion JPEG - faster to compress than H.264 but it will generate a bigger file
---| 1836070006 - MPEG-4 - supported by many digital cameras and iMovie
---@param codecID codecID
---@return boolean isSupported
---Returns whether a video codec is supported on the current system
function MovieRecording_IsCodecSupported(codecID, 1635148593, 1768124260, 1835692129, 1836070006) end
function MovieRecording_IsCodecSupported(codecID) end