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

This commit is contained in:
Jean-Baptiste Queru
2008-11-21 14:19:18 -08:00
parent 54b6cfa9a9
commit e70cfafe58

View File

@@ -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