Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment