From 0cfd2b6668de02f7d44b4707ae306f1ac944dd22 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Fri, 11 Mar 2016 09:59:48 -0800 Subject: audio: new max audio stream type value for policy use Added AUDIO_STREAM_FOR_POLICY_CNT value to audio_stream_type_t enum. All stream types above are ignored by audio policy for volume control and don't have a matching strategy. Currently only AUDIO_STREAM_PATCH is in this category. Bug: 27586382 Change-Id: I6df84d843d3afe4a30788b8f01b32fddffb22ee1 --- audio/include/system/audio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/include/system/audio.h b/audio/include/system/audio.h index 5b79a5a5..467e751d 100644 --- a/audio/include/system/audio.h +++ b/audio/include/system/audio.h @@ -77,6 +77,8 @@ typedef enum { AUDIO_STREAM_REROUTING = 11, /* For dynamic policy output mixes */ AUDIO_STREAM_PATCH = 12, /* For internal audio flinger tracks. Fixed volume */ AUDIO_STREAM_PUBLIC_CNT = AUDIO_STREAM_TTS + 1, + AUDIO_STREAM_FOR_POLICY_CNT = AUDIO_STREAM_PATCH, /* number of streams considered by + audio policy for volume and routing */ AUDIO_STREAM_CNT = AUDIO_STREAM_PATCH + 1, } audio_stream_type_t; -- cgit v1.2.3