A simple SwiftUI-based audio player for Opus files using SwiftOGG and AVFoundation.
- Play and pause Opus audio files
- Seek through the audio using a slider
- Display current playback time and total duration
- Support for mono and stereo Opus files
- iOS 14.0+
- Xcode 12.0+
- Swift 5.3+
- SwiftOGG - For decoding Opus files
- Clone this repository:
- Open the project in Xcode
- Install SwiftOGG using your preferred dependency manager (e.g., Swift Package Manager)
- Add your Opus file to the project (default name: "homeaudio.opus")
- Build and run the app
- Use the play/pause button to control playback
- Use the slider to seek through the audio
Contributions are welcome! Please feel free to submit a Pull Request.