Skip to content

Conversation

@1egoman
Copy link
Contributor

@1egoman 1egoman commented Jan 6, 2026

Expose this so that downstream consumers can preset userdata into an audio frame when it is being created based off of raw data.

sample_rate: int,
num_channels: int,
samples_per_channel: int,
userdata: dict[str, Any] = {},
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
userdata: dict[str, Any] = {},
*,
userdata: dict[str, Any] = {},

Let's make it a kwarg

@1egoman 1egoman merged commit e340b74 into main Jan 6, 2026
16 checks passed
@1egoman 1egoman deleted the add-userdata-to-audioframe-constructor branch January 6, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants