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

Commit d546de6a authored by Manish Dewangan's avatar Manish Dewangan Committed by Linux Build Service Account
Browse files

audio: Dataconverter changes to support pcm 24bit

-Dataconverter changes to support pcm 24bit playback.
-Corresponding Nuplayer changes to configure MediaCodec with
 proper pcm encoding format.

Change-Id: Ic3745bccea43f1be9483c251beea0dd45fa443db
parent f107f2cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ struct AVNuUtils {
    virtual void setPCMFormat(const sp<AMessage> &, audio_format_t audioFormat);
    virtual void setSourcePCMFormat(const sp<MetaData> &);
    virtual void setDecodedPCMFormat(const sp<AMessage> &);
    virtual void setCodecOutputFormat(const sp<AMessage> &);

    // ----- NO TRESSPASSING BEYOND THIS LINE ------
    DECLARE_LOADABLE_SINGLETON(AVNuUtils);
+3 −0
Original line number Diff line number Diff line
@@ -97,6 +97,9 @@ void AVNuUtils::setDecodedPCMFormat(const sp<AMessage> &) {

}

void AVNuUtils::setCodecOutputFormat(const sp<AMessage> &) {

}

void AVNuUtils::overWriteAudioOutputFormat(
       sp <AMessage> & /*dst*/, const sp <AMessage> & /*src*/) {