AAudio: fix logging information in AAudioServiceEndpointMMAP.

Bug: 272277767
Test: TH
Change-Id: I8b59f1a6547a247fd1135d98767b0f8982660fb9
diff --git a/services/oboeservice/AAudioServiceEndpointMMAP.cpp b/services/oboeservice/AAudioServiceEndpointMMAP.cpp
index 78e5270..7f228c7 100644
--- a/services/oboeservice/AAudioServiceEndpointMMAP.cpp
+++ b/services/oboeservice/AAudioServiceEndpointMMAP.cpp
@@ -105,7 +105,7 @@
     while (true) {
         if (formatsTried.find(audioFormat) != formatsTried.end()) {
             // APM returning something that has already tried.
-            ALOGW("Have already tried to open #x, but failed before");
+            ALOGW("Have already tried to open with format=%#x, but failed before", audioFormat);
             break;
         }
         formatsTried.insert(audioFormat);
@@ -195,7 +195,7 @@
         // not match the hardware.
         ALOGD("%s() - openMmapStream() returned status=%d, suggested format=%#x, sample_rate=%u, "
               "channel_mask=%#x",
-              __func__, status, config.format, config.sample_rate, config.format);
+              __func__, status, config.format, config.sample_rate, config.channel_mask);
         *nextFormatToTry = config.format != audioFormat ? config.format
                                                         : *nextFormatToTry;
         return AAUDIO_ERROR_UNAVAILABLE;