Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move OPUS decoder buffer to heap #889

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

wkozyra95
Copy link
Member

Not sure if it related to Rust update, but audio decoder is failing for me on master. Moving OPUS buffer to heap seems to fix it

@wkozyra95 wkozyra95 marked this pull request as ready for review November 29, 2024 14:58
@@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1722555600,
Copy link
Member Author

Choose a reason for hiding this comment

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

updates rust from 1.79 to 1.82

@wkozyra95 wkozyra95 enabled auto-merge (squash) November 29, 2024 15:13
@WojciechBarczynski
Copy link
Member

Have you tested it? Tests with audio don't work

@wkozyra95 wkozyra95 disabled auto-merge December 2, 2024 11:16
@wkozyra95
Copy link
Member Author

Have you tested it? Tests with audio don't work

yes, I'll look into that

@wkozyra95 wkozyra95 force-pushed the @wkozyra95/move-opus-buffer-to-heap branch from 2b0d17d to 1725739 Compare December 2, 2024 11:29
@wkozyra95
Copy link
Member Author

wkozyra95 commented Dec 2, 2024

Have you tested it? Tests with audio don't work

yes, I'll look into that

Ok, not sure why it worked yesterday maybe I did run that from the wrong directory. with_capacity was incorrect because the length was still 0, so I was passing an empty slice to opus

@wkozyra95 wkozyra95 merged commit 7ccafb6 into master Dec 2, 2024
5 checks passed
@wkozyra95 wkozyra95 deleted the @wkozyra95/move-opus-buffer-to-heap branch December 2, 2024 12:13
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