Sonix Output Route
The audio output route a player's audio is actually being rendered on.
This is the active route as reported by the OS for the player's own output track — not a list of what is attached. The distinction matters: with a wired headset and a Bluetooth headset both connected, an attached-device list says "Bluetooth is present" while only one of them is actually carrying the audio. Deciding a route-dependent correction from the attached list therefore applies it on the wrong route. Read it from SonixPlayer.outputRoute / SonixMixer.outputRoute instead of inferring it host-side.
Why the route is worth knowing
Output latency is route-dependent, and the only route that differs enough to need its own correction is Bluetooth (see SonixPlayer.bluetoothExtraCompensationMs and docs/android-bluetooth-latency.md). The enum is deliberately coarse: it names the classes of route that behave differently for timing, not every device type the platform can report.
Platform accuracy
Android:
AudioTrack.getRoutedDevice()— authoritative for this track.iOS:
AVAudioSession.sharedInstance().currentRoute.outputs— the session's active route, so it is exact.
Properties
Inherited properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.