OSDN Git Service

Add DRMO_MODULATION program identifier type.
authorTomasz Wasilczyk <twasilczyk@google.com>
Mon, 17 Jul 2017 22:41:29 +0000 (15:41 -0700)
committerTomasz Wasilczyk <twasilczyk@google.com>
Wed, 19 Jul 2017 13:53:39 +0000 (06:53 -0700)
Bug: b/63702941
Test: it builds
Change-Id: I3353b232c2e24f7e3c816d4089b2cbf40c4b79ae

broadcastradio/1.1/types.hal

index 356c299..5b5d4f7 100644 (file)
@@ -102,6 +102,16 @@ struct Properties {
 };
 
 /**
+ * Type of modulation.
+ *
+ * Used as a value for DRMO_MODULATION IdentifierType.
+ */
+enum Modulation : uint32_t {
+    AM = 1,
+    FM,
+};
+
+/**
  * Type of a radio technology.
  *
  * There are multiple VENDOR program types just to make vendor implementation
@@ -176,6 +186,7 @@ enum IdentifierType : uint32_t {
     DAB_FREQUENCY,    // kHz
     DRMO_SERVICE_ID,  // 24bit
     DRMO_FREQUENCY,   // kHz
+    DRMO_MODULATION,  // Modulation enum
     SXM_SERVICE_ID,   // 32bit
     SXM_CHANNEL,      // 0-999 range