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

Commit 6709d076 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audio: hal: Add support for MP2 codec" into audio-userspace.lnx.2.2-dev

parents 0c88c967 0c31392d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1136,6 +1136,9 @@ int get_snd_codec_id(audio_format_t format)
    case AUDIO_FORMAT_WMA_PRO:
        id = SND_AUDIOCODEC_WMA_PRO;
        break;
    case AUDIO_FORMAT_MP2:
        id = SND_AUDIOCODEC_MP2;
        break;
    default:
        ALOGE("%s: Unsupported audio format :%x", __func__, format);
    }
+1 −0
Original line number Diff line number Diff line
@@ -496,6 +496,7 @@ done:
static bool is_supported_format(audio_format_t format)
{
    if (format == AUDIO_FORMAT_MP3 ||
        format == AUDIO_FORMAT_MP2 ||
        format == AUDIO_FORMAT_AAC_LC ||
        format == AUDIO_FORMAT_AAC_HE_V1 ||
        format == AUDIO_FORMAT_AAC_HE_V2 ||