Skip to content

Report VQA errors through a typed enum - #103

Open
mischa85 wants to merge 2 commits into
OpenTS-Developers:mainfrom
mischa85:vqa-error-type
Open

Report VQA errors through a typed enum#103
mischa85 wants to merge 2 commits into
OpenTS-Developers:mainfrom
mischa85:vqa-error-type

Conversation

@mischa85

@mischa85 mischa85 commented Sep 1, 2026

Copy link
Copy Markdown

The 26 VQAERR_* macros become enum VQAErrorType : int32_t.

Left alone where the return is genuinely multiplexed: VQA_Play/VQA_SeekFrame (frame number or negative error), VQA_H_FUNC (pointer for VQAEVENT_LOCK), and a few returning counts or indices.

Found in passing: an HRESULT and a VQAERR_* sharing one variable in Play_Audio_Handler, a bare -4 meaning VQAERR_READ, and two unsigned ints holding negative codes.

mischa85 added a commit to mischa85/OpenTS that referenced this pull request Sep 2, 2026
mischa85 added a commit to mischa85/OpenTS that referenced this pull request Sep 2, 2026
mischa85 added a commit to mischa85/OpenTS that referenced this pull request Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Development builds of e5372bd:

The links work without a GitHub account. Artifacts expire after 90 days, and this comment follows the latest successful build.

@Krisztiaan Krisztiaan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, conflicts with #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants