PHASE 14: Implement AudioPlayer with Opus decoding and multi-backend playback#50
Merged
infinityabundance merged 7 commits intomainfrom Feb 13, 2026
Merged
Conversation
…, sync, and playback backends Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
…nvironment Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
…m() calls, fix abs() usage Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement audio playback pipeline for Opus decoding
PHASE 14: Implement AudioPlayer with Opus decoding and multi-backend playback
Feb 13, 2026
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
Implements complete audio playback pipeline: Opus decoding, jitter buffering, sample rate conversion, A/V sync, and multi-backend playback (PulseAudio, ALSA, PipeWire stub).
Details
What changed?
Core Audio Components (
src/audio/):Playback Backends:
Integration:
audioplayer.h/cppstubs to use new implementationTesting:
Code Quality:
Rationale
RootStream requires low-latency audio streaming for game audio. This implementation:
Testing
Test Coverage: 9/9 passing
Notes
Original prompt
PHASE 14: AudioPlayer - Opus Decoding & Playback
🎯 Objective
Implement a complete audio playback pipeline on the client side that:
This is critical for the complete RootStream client experience, providing low-latency game audio.
📋 Architecture Overview
🔨 Implementation Plan
1. Opus Decoder
File:
clients/kde-plasma-client/src/audio/opus_decoder.h/cppLibopus Integration:
libopus(Ubuntu:libopus-dev, Arch:opus)2. Audio Ring Buffer (Jitter Buffer)
File:
clients/kde-plasma-client/src/audio/audio_ring_buffer.h/cpp