SOUND_STREAM_TYPE_LOOPBACK_MIRRORING, /**< Sound stream type for loopback-mirroring */
SOUND_STREAM_TYPE_SOLO, /**< Sound stream type for solo */
SOUND_STREAM_TYPE_VOICE_RECOGNITION_SERVICE, /**< Sound stream type for voice recognition by service (Since 4.0) */
+ SOUND_STREAM_TYPE_MEDIA_COMPRESSED, /**< Sound stream type for compressed media (Since 4.0) */
} sound_stream_type_internal_e;
/**
case SOUND_STREAM_TYPE_VOICE_RECOGNITION_SERVICE:
*stream_type = "voice-recognition-service";
break;
+ case SOUND_STREAM_TYPE_MEDIA_COMPRESSED:
+ *stream_type = "compressed-media";
+ break;
default:
LOGE("could not find the stream_type[%d] in this switch case statement", stream_type_enum);
ret = MM_ERROR_SOUND_INTERNAL;
SM_NULL_ARG_CHECK_FOR_PRIV(change_reason);
if (!strncmp(stream_type, "media", SOUND_STREAM_TYPE_LEN) ||
+ !strncmp(stream_type, "compressed-media", SOUND_STREAM_TYPE_LEN) ||
!strncmp(stream_type, "radio", SOUND_STREAM_TYPE_LEN) ||
!strncmp(stream_type, "loopback", SOUND_STREAM_TYPE_LEN)) {
*change_reason = SOUND_STREAM_FOCUS_CHANGED_BY_MEDIA;