Fix incall music flag entry in type converter
Fix an issue that was introduced in the latest commit due to the
temporary definition of AUDIO_OUTPUT_FLAG_INCALL_MUSIC as a MACRO.
This change explicitly adds the flag in TypeConverter.
Bug: 69973354.
Test: Tested manually.
Change-Id: Id56f746a481a246b109ac1b8458d494575263f99
diff --git a/media/libmedia/TypeConverter.cpp b/media/libmedia/TypeConverter.cpp
index ae232b5..4cadeb1 100644
--- a/media/libmedia/TypeConverter.cpp
+++ b/media/libmedia/TypeConverter.cpp
@@ -117,7 +117,7 @@
MAKE_STRING_FROM_ENUM(AUDIO_OUTPUT_FLAG_VOIP_RX),
// FIXME: this cast will be removed when the flag will be
// declared in types.hal for audio HAL V4.0 and auto imported to audio-base.h
- MAKE_STRING_FROM_ENUM((audio_output_flags_t)AUDIO_OUTPUT_FLAG_INCALL_MUSIC),
+ {"AUDIO_OUTPUT_FLAG_INCALL_MUSIC", static_cast<audio_output_flags_t>(AUDIO_OUTPUT_FLAG_INCALL_MUSIC)},
TERMINATOR
};