Skip to content

Report VQA errors through a typed enum - #103

Open
mischa85 wants to merge 1 commit into
OpenTS-Developers:mainfrom
mischa85:vqa-error-type
Open

Report VQA errors through a typed enum#103
mischa85 wants to merge 1 commit 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.

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.

1 participant