-
Notifications
You must be signed in to change notification settings - Fork 56
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
Update to livekit-protocol v1.23.0 (Stubs only), fix tests #458
Conversation
itype: SOXR_INT16_I as u32, | ||
otype: SOXR_INT16_I as u32, | ||
itype: soxr_datatype_t_SOXR_INT16_I as u32, | ||
otype: soxr_datatype_t_SOXR_INT16_I as u32, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes broken tests from main
let amplitude = i16::MAX as f32; | ||
writer.write_sample((sample * amplitude) as i16).expect("Failed to write sample"); | ||
} | ||
writer.finalize().expect("Failed to finalize test input WAV file"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input.wav was missing in main and I got some inexplicable format issues with it in certain CI environments when I added it back (but it worked locally). So instead I'm creating the file on the fly for the test @theomonnom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Co-authored-by: Théo Monnom <[email protected]>
There's a lot of new stuff that landed in protocol recently and is breaking the rust build since it doesn't implement them:
To unblock people trying to build on these, I stubbed everything out in here so it compiles.
While I was at it, I fixed the broken tests in main. CI is still red because there are broken builds for a few platforms we aren't actively deploying to. I didn't address that.