Merge changes I145c2e25,I4abe87dd,I86575d17,I90a0e583

* changes:
  Introduce BluetoothAudioQualityPreferenceCtrl
  Introduce BluetoothAudioChannelModePreferenceCtrl
  Introduce BluetoothAudioBitsPerSamplePrefCtrl
  Introduce BluetoothAudioCodecPreferenceController
This commit is contained in:
TreeHugger Robot
2017-10-17 21:31:27 +00:00
committed by Android (Google) Code Review
15 changed files with 972 additions and 50 deletions

View File

@@ -24,11 +24,31 @@ public class BluetoothCodecConfig {
public static final int SAMPLE_RATE_NONE = 0;
public static final int SAMPLE_RATE_48000 = 0x1 << 1;
public static final int SOURCE_CODEC_TYPE_INVALID = 1000 * 1000;
public static final int SOURCE_CODEC_TYPE_AAC = 1;
public static final int CODEC_PRIORITY_DEFAULT = 0;
public static final int CODEC_PRIORITY_HIGHEST = 1000 * 1000;
public static final int BITS_PER_SAMPLE_NONE = 0;
public static final int CHANNEL_MODE_NONE = 0;
public static final int BITS_PER_SAMPLE_24 = 0x1 << 1;
public static final int CHANNEL_MODE_STEREO = 0x1 << 1;
public int getSampleRate() {
return 0;
}
public int getCodecType() {
return 0;
}
public int getBitsPerSample() {
return 0;
}
public int getChannelMode() {
return 0;
}
public long getCodecSpecific1() {
return 0;
}
}