Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e70cfafe authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru
Browse files

Change ROUTE_ALL from 15 (4-bit mask) to -1 (32-bit mask) to allow for more routes in the future.

parent 54b6cfa9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -114,8 +114,7 @@ public class AudioSystem
    public static final int ROUTE_SPEAKER           = (1 << 1);
    public static final int ROUTE_BLUETOOTH         = (1 << 2);
    public static final int ROUTE_HEADSET           = (1 << 3);
    public static final int ROUTE_ALL               =
            (ROUTE_EARPIECE | ROUTE_SPEAKER | ROUTE_BLUETOOTH | ROUTE_HEADSET);
    public static final int ROUTE_ALL               = 0xFFFFFFFF;

    /*
     * Sets the audio routing for a specified mode