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

EngineBuffer: Use mixxx::audio::FramePos for some methods #4066

Merged
merged 2 commits into from
Jul 7, 2021

Conversation

Holzhaus
Copy link
Member

@Holzhaus Holzhaus commented Jul 7, 2021

No description provided.

@Holzhaus Holzhaus added this to In Progress in Semanting Type Refactoring via automation Jul 7, 2021
queueNewPlaypos(position, seekType);
}

void EngineBuffer::doSeekPlayPos(double new_playpos, enum SeekRequest seekType) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to rename this method explicitly to doSeekPlayPosLegacy/doSeekPlayPosSamples/doSeekPlaySamplePos(?) instead of using function overloading.

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to keep the changes in calling code to a minimum to reduce the size of the diff. Once we migrated all the engine control classes, we should just remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Nevermind, it's a private method. I removed it.

src/engine/enginebuffer.h Show resolved Hide resolved
Copy link
Contributor

@uklotzde uklotzde left a comment

Choose a reason for hiding this comment

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

LGTM

@uklotzde uklotzde merged commit 84fa081 into mixxxdj:main Jul 7, 2021
Semanting Type Refactoring automation moved this from In Progress to Done Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants