Skip to content

Fix audio clock register low mask values#50

Open
dalkhimov88 wants to merge 1 commit intoaja-video:mainfrom
dalkhimov88:main
Open

Fix audio clock register low mask values#50
dalkhimov88 wants to merge 1 commit intoaja-video:mainfrom
dalkhimov88:main

Conversation

@dalkhimov88
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Author

@dalkhimov88 dalkhimov88 left a comment

Choose a reason for hiding this comment

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

Fixes #49: 64-bit audio clock values incorrectly split into 32 bit low and high, resulting in data loss

@paulh-aja paulh-aja changed the title Main Fix audio clock register low mask values May 8, 2025
@paulh-aja
Copy link
Copy Markdown
Collaborator

paulh-aja commented May 8, 2025

@davids635 Is a mask of the 64-bit value strictly needed here? We omit the mask in the analogous Win/Mac driver code (closed-source).

@paulh-aja
Copy link
Copy Markdown
Collaborator

@dalkhimov88 Would you mind pulling in the latest main branch changes to your branch? This code was cleaned up a bit, to perform only a single call to GetAudioClock at the top of the function. After you've done that we'll merge this.

@paulh-aja
Copy link
Copy Markdown
Collaborator

@dalkhimov88 Please resolve the current merge conflicts and we will get this merged. Good find.

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