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

Added pause/resume, paused channel queries and music time functions #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ReinUsesLisp
Copy link

@ReinUsesLisp ReinUsesLisp commented Jun 25, 2017

Take a look at #'set-music-position, is it OK to call #'coerce there?
Edit: Multiplying by 1.0d0 coerces a number to double-float type.

Coerce is no longer needed. Multiplying "position" by 1.0d0 (a double-float number) coerces it without calling an expensive function.
@cbaggers
Copy link

cbaggers commented Jan 15, 2018

Heya @ReinUsesLisp, looks good! I'd probably prefer that instead of (* position 1d0) we use (float position 1d0) what do you think?

@cbaggers
Copy link

btw, sorry it's taken us so long to get to this. It would be ace to get this in soon.

@ReinUsesLisp
Copy link
Author

ReinUsesLisp commented Jan 16, 2018

@cbaggers Sure. #'float is easier to understand. An implicit division is better than an explicit multiplication (and better than a #'coerce call).
I'm not very used to pull requests. Should I change it or you change it when it's merged?

@cbaggers
Copy link

It's best if you change it. Thanks!

@cbaggers
Copy link

cbaggers commented Apr 22, 2018

btw sorry that this didnt get done I'll try get to it soon. Your work here really is appreciated

@fitzsim
Copy link
Contributor

fitzsim commented Aug 24, 2024

If anyone is still interested, can they rebase this so that it works on the current master branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants