-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: volume fade in/out #2121
feat: volume fade in/out #2121
Conversation
This reverts commit ba3afe4.
…t-native-track-player into dev-android-auto
feat: full android auto support
feat: RemoteSkip
chore: sync up main
I'd love to see this get submitted into 4.1.0 — @dcvz do you think that's possible? |
This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
bump
…On Mon, Jan 29, 2024, 5:48 PM github-actions[bot] ***@***.***> wrote:
This PR is stale because it has been open 90 days with no activity. Remove
stale label or comment or this will be closed in 7 days.
—
Reply to this email directly, view it on GitHub
<#2121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMOVVXBF52PJUV3WZMI57LYRBGP7AVCNFSM6AAAAAA4RN75ASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHEYTINZZGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
…ck-player into dev-fadeinout
…ck-player into dev-fadeinout
…ck-player into dev-fadeinout
…ck-player into dev-fadeinout
This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
bump
…On Thu, Aug 1, 2024, 6:55 PM github-actions[bot] ***@***.***> wrote:
This PR is stale because it has been open 90 days with no activity. Remove
stale label or comment or this will be closed in 7 days.
—
Reply to this email directly, view it on GitHub
<#2121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMOVVSXGCBYAQYH6WI3MZLZPLRHRAVCNFSM6AAAAAA4RN75ASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRUGM2DONBQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
adds volume fade in/out effect.
on not android platforms this is done by using Animated.Value. I do not have iOS to test but it seems like iOS doesn't have a background react rendering problem that this should work.
on android this is done by using doublesymmetry/KotlinAudio#91. because Animated.Value doesnt update within HeadlessJsTaskService I added a simple linear fading function for it.
kotlin's scope.async doesn't work as I expected (Deferred.await() doesn't wait for RN's Promise.resolve?) any help is appreciated! because of this I cannot reliably await for the volume fading change to complete, so I used event emitting and handle the callback function within that event emitting, which is quite unnecessarily complicated, compared to a simple callback function in Animated.Timing.Start().