Loading services/audioflinger/AudioFlinger.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,9 @@ const char *formatToString(audio_format_t format) { case AUDIO_FORMAT_AC3: return "ac-3"; case AUDIO_FORMAT_E_AC3: return "e-ac-3"; case AUDIO_FORMAT_IEC61937: return "iec61937"; case AUDIO_FORMAT_DTS: return "dts"; case AUDIO_FORMAT_DTS_HD: return "dts-hd"; case AUDIO_FORMAT_DOLBY_TRUEHD: return "dolby-truehd"; default: break; } Loading services/audiopolicy/common/managerdefinitions/src/TypeConverter.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -142,6 +142,7 @@ const FormatConverter::Table FormatConverter::mTable[] = { MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_DTS), MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_DTS_HD), MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_IEC61937), MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_DOLBY_TRUEHD), }; template<> const size_t FormatConverter::mSize = sizeof(FormatConverter::mTable) / Loading Loading
services/audioflinger/AudioFlinger.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,9 @@ const char *formatToString(audio_format_t format) { case AUDIO_FORMAT_AC3: return "ac-3"; case AUDIO_FORMAT_E_AC3: return "e-ac-3"; case AUDIO_FORMAT_IEC61937: return "iec61937"; case AUDIO_FORMAT_DTS: return "dts"; case AUDIO_FORMAT_DTS_HD: return "dts-hd"; case AUDIO_FORMAT_DOLBY_TRUEHD: return "dolby-truehd"; default: break; } Loading
services/audiopolicy/common/managerdefinitions/src/TypeConverter.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -142,6 +142,7 @@ const FormatConverter::Table FormatConverter::mTable[] = { MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_DTS), MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_DTS_HD), MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_IEC61937), MAKE_STRING_FROM_ENUM(AUDIO_FORMAT_DOLBY_TRUEHD), }; template<> const size_t FormatConverter::mSize = sizeof(FormatConverter::mTable) / Loading