Concepts
Sharing the DAC without losing it
How Polylute lets other apps use your DAC while it is paused, and why it checks the volume before it hands the DAC over.
In short
- USB Direct gives Polylute the DAC to itself, so other apps cannot use it. Share the DAC with other apps hands it back to Android while Polylute is paused, and pressing Play takes it back.
- Who shares depends on how you use Polylute. It is on by default in App mode and off in DAP mode, and Pinned and Dedicated never share, because no other app can be opened there.
- Handing a DAC back can disturb its volume, so Polylute puts the volume back and checks it first. If it cannot confirm it, it keeps the DAC.
- Sharing only happens while Polylute is not playing. It never changes what Purity sends.
How it works
On USB Direct, Polylute is the only app that can use the DAC. That is what makes the bit-perfect road possible, but it also means a video, a voice note or a game cannot reach the DAC while Polylute holds it, even when Polylute is paused.
With Share the DAC with other apps on, Polylute lets go of the DAC when it is paused or idle, and Android takes it over so other apps can play through it. When you press Play, Polylute asks for the DAC again, checks the volume, and plays. Polylute only lets go of the DAC when it is not playing, so sharing decides nothing about the signal.
Who shares
In App mode, Polylute shares in Purity and in Resonance. At Launcher level it shares only in Resonance, so a person who chose Purity does not find the DAC wandering off. In Pinned and Dedicated it never shares, and the switch is hidden. The full table is in the guide, linked under Related.
The switch is on by default in App mode and off in DAP mode (Launcher, Pinned and Dedicated). A choice you make always wins over the default. The Audio page shows the same value the engine uses, so the switch never says one thing while the app does another.

The hand-back
Giving a DAC back sounds simple, and it is not. Polylute lets go of the DAC’s interfaces and Android’s own driver takes it. Sometimes an interface is still left without a driver. Then Polylute resets the USB bus, which makes the kernel set it up afresh. A reset restarts the DAC’s firmware, and a DAC can come back at its power-up volume, which is often full.
In words
Polylute lets go of the streaming interface, then the control interface, and asks Android’s driver to take the DAC back. If the driver took every interface, the DAC is handed back. If not, Polylute resets the USB bus, claims the interfaces again with streaming first, puts the volume back and reads it from the DAC. If the DAC confirms the volume, it is handed back to Android. If it does not, Polylute keeps the DAC.
If Polylute cannot claim an interface again after the reset, the kernel keeps it, and the DAC is with Android at a level Polylute could not confirm. The notice then says so, and ends with Keep it low until Polylute takes it back at the next play.
Taking it back
When you press Play, Polylute asks Android for the DAC, restores the safe level, and starts. If the DAC does not come back in time, or its volume cannot be confirmed, playback stays paused and says why: The DAC did not come back in time, or its volume could not be confirmed. The way out is in Another app can’t use my DAC.
Why we built it this way
A default for each way of using Polylute. On a normal phone, Polylute is one app among others, and a video or a voice note has to reach the DAC once Polylute pauses. So sharing is on by default in App mode. In DAP mode the phone is mostly a player and keeps the DAC unless you say otherwise. In Pinned and Dedicated, no other app can be opened, so there is nobody to hand the DAC to, and the switch does not appear.
Purity at a DAP level keeps the DAC. At Launcher level, where other apps can still be opened, Purity never shares and Resonance does, so a person who chose Purity does not find the DAC wandering off.
Volume before hand-over. The one thing that must not happen is another app finding the DAC at a loud level because a reset restarted it. So Polylute reclaims the interfaces, restores the level, reads it back, and only then lets go. If any of that fails, it keeps the DAC. It costs sharing sometimes not working, and a message saying why. We think a DAC kept is better than a DAC at an unknown level in another app’s hands.
One owner, one generation. The hand-back, a recovery, a change of rate and an unplug can all want to act at once. Polylute lets one act at a time, and a recovery that was started for an older stream does nothing.
For the curious
For the curiousWhy the order is streaming first
Releasing the control interface lets Android’s USB audio driver bind to it at once. If the streaming interface is still claimed by Polylute at that moment, the sound card is created without a playback stream, and the route to the DAC is dead. So Polylute always lets go of streaming first, then control, then lets the kernel driver bind.
After a bus reset the kernel binds the audio driver to every interface before the reset call returns, so Polylute’s claims do not survive the reset. That is why the first thing it does afterwards is claim again, streaming first and then control, retrying each once.