Merge "AudioTrack: Fix track creation of 9.1.4 and 9.1.6 streams" into sc-v2-dev
This commit is contained in:
@@ -1613,7 +1613,9 @@ public class AudioTrack extends PlayerBase
|
|||||||
AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_LEFT |
|
AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_LEFT |
|
||||||
AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_CENTER |
|
AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_CENTER |
|
||||||
AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_RIGHT |
|
AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_RIGHT |
|
||||||
AudioFormat.CHANNEL_OUT_LOW_FREQUENCY_2;
|
AudioFormat.CHANNEL_OUT_LOW_FREQUENCY_2 |
|
||||||
|
AudioFormat.CHANNEL_OUT_FRONT_WIDE_LEFT |
|
||||||
|
AudioFormat.CHANNEL_OUT_FRONT_WIDE_RIGHT;
|
||||||
|
|
||||||
// Returns a boolean whether the attributes, format, bufferSizeInBytes, mode allow
|
// Returns a boolean whether the attributes, format, bufferSizeInBytes, mode allow
|
||||||
// power saving to be automatically enabled for an AudioTrack. Returns false if
|
// power saving to be automatically enabled for an AudioTrack. Returns false if
|
||||||
@@ -1787,6 +1789,8 @@ public class AudioTrack extends PlayerBase
|
|||||||
| AudioFormat.CHANNEL_OUT_TOP_SIDE_RIGHT);
|
| AudioFormat.CHANNEL_OUT_TOP_SIDE_RIGHT);
|
||||||
put("bottom front", AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_LEFT
|
put("bottom front", AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_LEFT
|
||||||
| AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_RIGHT);
|
| AudioFormat.CHANNEL_OUT_BOTTOM_FRONT_RIGHT);
|
||||||
|
put("front wide", AudioFormat.CHANNEL_OUT_FRONT_WIDE_LEFT
|
||||||
|
| AudioFormat.CHANNEL_OUT_FRONT_WIDE_RIGHT);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user