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

Refactor Audio Offload Manager #446

Merged
merged 12 commits into from
Jul 30, 2022
Merged

Refactor Audio Offload Manager #446

merged 12 commits into from
Jul 30, 2022

Conversation

yschimke
Copy link
Collaborator

@yschimke yschimke commented Jul 29, 2022

WHAT

Allow changing the offload mode without restarting.
Also improve the logging information.
Introduces offload modes Never, Always, Background.

WHY

Validate compressed audio offload in testing on different devices.

HOW

Checklist 📋

  • Add explicit visibility modifier and explicit return types for public declarations
  • Run spotless check
  • Run tests
  • Update metalava's signature text files

yschimke added 6 commits July 28, 2022 17:53
# Conflicts:
#	media-sample/src/main/java/com/google/android/horologist/mediasample/domain/SettingsRepository.kt
#	media-sample/src/main/java/com/google/android/horologist/mediasample/domain/model/Settings.kt
#	media-sample/src/main/java/com/google/android/horologist/mediasample/ui/playlists/UampPlaylistsScreenViewModel.kt
#	media-sample/src/main/java/com/google/android/horologist/mediasample/ui/settings/SettingsScreenViewModel.kt
#	media-sample/src/main/java/com/google/android/horologist/mediasample/ui/settings/UampSettingsScreen.kt
@yschimke yschimke requested a review from kul3r4 July 29, 2022 10:34
@yschimke
Copy link
Collaborator Author

@kul3r4 it's mostly debugging changes in sample app. Main changes in library code are offload modes, Never/Always/Background.

yschimke added 2 commits July 30, 2022 10:26
# Conflicts:
#	media-sample/src/main/java/com/google/android/horologist/mediasample/ui/app/MediaPlayerAppViewModel.kt
@yschimke yschimke merged commit 4246d6a into google:main Jul 30, 2022
@yschimke yschimke deleted the offload_work branch August 5, 2022 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants