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

Commit 375172c4 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Android Git Automerger
Browse files

am 2c3297ab: No warning on using channel order in AudioPlayer

* commit '2c3297ab':
  No warning on using channel order in AudioPlayer
parents e0b6fc58 2c3297ab
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -117,7 +117,9 @@ status_t AudioPlayer::start(bool sourceAlreadyStarted) {
    CHECK(success);

    if(!format->findInt32(kKeyChannelMask, &channelMask)) {
        ALOGW("source format didn't specify channel mask, using channel order");
        // log only when there's a risk of ambiguity of channel mask selection
        ALOGI_IF(numChannels > 2,
                "source format didn't specify channel mask, using (%d) channel order", numChannels);
        channelMask = CHANNEL_MASK_USE_CHANNEL_ORDER;
    }