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

Commit a7fe73be authored by Steve Kondik's avatar Steve Kondik Committed by Steve Kondik
Browse files

nuplayer: Fix PCM offload turning on all the time

 * Remove the extra condition, since this will be set even if
   PCM offload was denied.

Change-Id: I8f33ef68562d8e057e7a86c5ae6187d0049bf3aa
parent b8633893
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1380,7 +1380,7 @@ bool NuPlayer::Renderer::onOpenAudioSink(
    }
#endif

    if (offloadingAudio() || pcmOffload) {
    if (offloadingAudio()) {
        audio_format_t audioFormat = AUDIO_FORMAT_PCM_16_BIT;
        status_t err = mapMimeToAudioFormat(audioFormat, mime.c_str());