Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e48d6e8 authored by Kevin Rocard's avatar Kevin Rocard Committed by android-build-merger
Browse files

Audio V4: Remove system only enum values

am: 4b6169ee

Change-Id: I35b6fc6eae82d8f8c1a60cb8a5d93ad5b55a8952
parents 078bad0b 4b6169ee
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -104,8 +104,6 @@ enum AudioStreamType : int32_t {
    TTS              = 9,  // Transmitted Through Speaker.  Plays over speaker
    TTS              = 9,  // Transmitted Through Speaker.  Plays over speaker
                           // only, silent on other devices
                           // only, silent on other devices
    ACCESSIBILITY    = 10, // For accessibility talk back prompts
    ACCESSIBILITY    = 10, // For accessibility talk back prompts
    REROUTING        = 11, // For dynamic policy output mixes
    PATCH            = 12, // For internal audio flinger tracks.  Fixed volume
};
};


@export(name="audio_source_t", value_prefix="AUDIO_SOURCE_")
@export(name="audio_source_t", value_prefix="AUDIO_SOURCE_")
@@ -657,6 +655,8 @@ enum AudioUsage : int32_t {
/** Type of audio generated by an application. */
/** Type of audio generated by an application. */
@export(name="audio_content_type_t", value_prefix="AUDIO_CONTENT_TYPE_")
@export(name="audio_content_type_t", value_prefix="AUDIO_CONTENT_TYPE_")
enum AudioContentType : uint32_t {
enum AudioContentType : uint32_t {
    // Do not change these values without updating their counterparts
    // in frameworks/base/media/java/android/media/AudioAttributes.java
    UNKNOWN      = 0,
    UNKNOWN      = 0,
    SPEECH       = 1,
    SPEECH       = 1,
    MUSIC        = 2,
    MUSIC        = 2,