Open
Conversation
- Introduced `ComposeAudioPlayer` with platform-specific implementations for Android, iOS, Web, and JVM. - Added `ComposeAudioPlayerState` enum to manage player state transitions. - Provided coroutine-driven updates for playback state, volume, position, and duration via `rememberGadulkaLiveState`. - Configured build scripts with Gradle dependencies for multiplatform support, including Android and WASM targets. - Implemented platform-specific playback features using ExoPlayer (Android), AVFoundation (iOS), and HTMLAudioElement (Web). - Included support for compiling and publishing through Maven.
- Added `AudioPlayerScreen` showcasing the use of `ComposeAudioPlayer` with stream and local audio playback. - Updated navigation to include `AudioPlayer` as a new screen. - Enhanced build configuration to add dependencies for the audio player module. - Renamed `rememberGadulkaLiveState` to `rememberAudioPlayerLiveState` for consistency.
- Added `RodioPlayer` for handling audio playback in the JVM target of `ComposeAudioPlayer`. - Implemented methods for playback, pause, stop, seek, and volume control using `RodioPlayer`. - Refactored state management with `ComposeAudioPlayerState` updates based on playback events. - Updated dependencies to include `Rodio` library.
…erences - Renamed `ComposeAudioPlayer` to `AudioPlayer` across all platform-specific implementations (Android, iOS, JVM). - Replaced `ComposeAudioPlayerState` with `AudioPlayerState` to align with updated naming. - Updated `AudioPlayerScreen` in the sample app to use the new `AudioPlayer` class and state. - Revised `README_AUDIO.MD` and sample code to reflect the renaming. - Improved consistency and clarity in state management logic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.