The dual mode trick is such a lifesaver. Nice point here Igor on the terminal beating the GUI for this. Could this handle bluetooth latency too?
Custom Audio Control on Linux: Switch Between Headphones, Speakers, and Dual Output with a Single Co
Igor Giamoniano - Coisa de Dev
●20 ●38
calendar_today
• schedule3 min read
— Originally published at dev.to
2 Comments
Igor Giamoniano - Coisa de Dev
•
@[Marco Marelli] Thanks! I’m really glad the dual mode idea was useful
Regarding Bluetooth latency: unfortunately, this script can’t truly eliminate Bluetooth latency, because that delay is mostly introduced by the Bluetooth stack and audio codec (SBC, AAC, aptX, etc.), not by PulseAudio or PipeWire themselves.
What audioctl can do is:
- Route Bluetooth audio just like any other sink
- Combine Bluetooth + wired outputs using module-combine-sink
- Let you quickly switch away from Bluetooth when latency becomes a problem
If you’re using PipeWire, you can improve the situation by:
- Forcing lower-latency codecs (when supported)
- Tweaking buffer sizes and quantum settings
- Using wired outputs for real-time use cases (calls, video, music production)
So the short answer is:
It can manage Bluetooth routing, but not fix Bluetooth latency itself.
Still, being able to switch outputs instantly from the terminal already makes a huge difference in day-to-day usage
Please log in to add a comment.
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
chevron_left
14Posts
11Comments
13Connections
Teacher and developer from Brazil, founder of Coisa de Dev, where I teach Linux, open source and Dev... Show moreTeacher and developer from Brazil, founder of Coisa de Dev, where I teach Linux, open source and DevSecOps in Portuguese.
I contribute to open source and write down what I learn doing it: a documentation patch accepted into the Linux kernel, two fixes merged into TimeConv, and an open PR against uutils/coreutils, the Rust rewrite of GNU coreutils. One article per contribution, from the bug to the merge.
Python and Elixir day to day, Rust for systems and CLI work, Linux everywhere. Show less
I contribute to open source and write down what I learn doing it: a documentation patch accepted into the Linux kernel, two fixes merged into TimeConv, and an open PR against uutils/coreutils, the Rust rewrite of GNU coreutils. One article per contribution, from the bug to the merge.
Python and Elixir day to day, Rust for systems and CLI work, Linux everywhere. Show less
More From Igor Giamoniano - Coisa de Dev
Related Jobs
- Dual Site Property Operations AssociateGreystar · Full time · Denmark
- Bilingual Store Associate (Spanish)Sherwin-Williams · Full time · Hagerstown, MD
- Blockchain Risk Control AnalystBybit · Full time · Malaysia
Commenters (This Week)
Bilalkhan192003
1 comment
Solomonic
1 comment
winston
1 comment
Contribute meaningful comments to climb the leaderboard and earn badges!