-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Opus encoder #1386
Opus encoder #1386
Conversation
Among other small bugs, here's an interesting comment by @daschuer from the original pull request:
|
Thank you for this PR. Is it a candidate for 2.1? |
@daschuer It is a candidate for 2.1, ready for reviewing. |
We currently build against opusfile 0.7 and opus 1.1.2, which does not contain some of the functions required. We need to update (windows) buildserver libs. |
Hmm, SampleBuffer causes no trouble on my machine, but seems like Travis can't find it... |
So there is a chance that in the next version streaming in Opus is a possibility? I would love that very much as even 48 kbps in Opus is a damn fine quality. Hope you can make it :) |
Travis build the merge with master. I can reproduce the build failure on my stem after merging master. So I assume it is a kind of merge conflict. |
@Palakis: will you have time to finish this for Mixxx 2.2? |
@daschuer Sure! I'll have a look at the build failure next week and see what's left to fix. |
I fixed the merge conflict by rebasing this branch on the latest Windows:
macOS:
|
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.
I added some comments for some minor issues that should be fixed before merging.
There are even more minor code style issue (formatting, missing curly braces, const naming convention, C-style casts, ...) that you may leave as is if no one else complains ;)
@uklotzde Thanks for your review! Fixed these issues. |
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.
Thanks @Palakis for getting this in shape quickly. This is a nice feature for 2.3, although I'm not able to test it myself. LGTM.
Merge? |
Yes. |
// Opus only supports 48 and 96 kHz samplerates | ||
constexpr int EncoderOpus::MASTER_SAMPLERATE = 48000; | ||
|
||
const char* EncoderOpus::INVALID_SAMPLERATE_MESSAGE = |
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.
The OPUS error message is hidden behind other error message (moved downwards in the screens for readability).
Features:
Started as an internal PR on my fork. Original conversation here: https://github.com/Palakis/mixxx/pull/3