Skip to content

Conversation

@kdroidFilter
Copy link
Owner

No description provided.

- 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.
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