Skip to content

Commit

Permalink
Add device types introduced in API level 31 or Android Tiramisu
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 authored and katyo committed Apr 29, 2022
1 parent 3ff76e4 commit 7870018
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/java_interface/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ pub struct AudioDeviceInfo {
pub enum AudioDeviceType {
Unknown = 0,
AuxLine = 19,
BleBroadcast = 30,
BleHeadset = 26,
BleSpeaker = 27,
BluetoothA2DP = 8,
BluetoothSCO = 7,
BuiltinEarpiece = 1,
Expand All @@ -100,10 +103,12 @@ pub enum AudioDeviceType {
FmTuner = 16,
Hdmi = 9,
HdmiArc = 10,
HdmiEarc = 29,
HearingAid = 23,
Ip = 20,
LineAnalog = 5,
LineDigital = 6,
RemoteSubmix = 25,
Telephony = 18,
TvTuner = 17,
UsbAccessory = 12,
Expand Down

0 comments on commit 7870018

Please sign in to comment.