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

Commit ef88450a authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioFormat: java-native conversion for xHE-AAC

Bug: 71430241
Test: only once we have decoder
Change-Id: Ifab4e887d1516da45eed762a8a4d92c3b8f1f95c
parent 0efaf208
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -78,7 +78,7 @@ static inline audio_format_t audioFormatToNative(int audioFormat)
    case ENCODING_AAC_ELD:
    case ENCODING_AAC_ELD:
        return AUDIO_FORMAT_AAC_ELD;
        return AUDIO_FORMAT_AAC_ELD;
    case ENCODING_AAC_XHE:
    case ENCODING_AAC_XHE:
        return AUDIO_FORMAT_AAC; // FIXME temporary value, needs addition of xHE-AAC
        return AUDIO_FORMAT_AAC_XHE;
    case ENCODING_AC4:
    case ENCODING_AC4:
        return AUDIO_FORMAT_AC4;
        return AUDIO_FORMAT_AC4;
    // case ENCODING_E_AC3_JOC:  // FIXME Not defined on the native side yet
    // case ENCODING_E_AC3_JOC:  // FIXME Not defined on the native side yet