Skip to content

Compute AudioPlane.buffer_size instead of storing it - #2387

Merged
WyattBlue merged 2 commits into
mainfrom
patch
Aug 19, 2026
Merged

Compute AudioPlane.buffer_size instead of storing it#2387
WyattBlue merged 2 commits into
mainfrom
patch

Conversation

@WyattBlue

Copy link
Copy Markdown
Member

No description provided.

Container held buffer_size between two pointers and HWAccel led with an
int and split its pointers with three more, so both structs carried holes
that grouping the pointers first removes:

    Container   160 -> 152
    HWAccel      88 ->  80
It only held `frame.ptr.linesize[0]`, and Buffer already exposes
buffer_size as a property over _buffer_size() so the field was shadowing
that property with a copy of what the override could return directly.

    AudioPlane  48 -> 40
@WyattBlue
WyattBlue merged commit 38bfe67 into main Aug 19, 2026
8 checks passed
@WyattBlue
WyattBlue deleted the patch branch August 19, 2026 02:19
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