Enhance Mac CoreAudio diagnostic logging [chromium/src : main]

0 views
Skip to first unread message

Palak Agarwal (Gerrit)

unread,
Mar 4, 2026, 11:10:14 AM (yesterday) Mar 4
to Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
Attention needed from Olga Sharonova

Palak Agarwal voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Olga Sharonova
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
Gerrit-Change-Number: 7633184
Gerrit-PatchSet: 2
Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
Gerrit-Comment-Date: Wed, 04 Mar 2026 16:10:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Olga Sharonova (Gerrit)

unread,
Mar 4, 2026, 11:20:22 AM (yesterday) Mar 4
to Palak Agarwal, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
Attention needed from Palak Agarwal

Olga Sharonova added 3 comments

File media/audio/mac/core_audio_util_mac.h
Line 81, Patchset 2 (Latest):void SendLog(const LogCallback& log_callback,
const char* func_name,
const std::string& message,
AudioObjectPropertySelector property_selector,
AudioObjectID audio_object_id,
OSStatus result = noErr);
Olga Sharonova . unresolved

Why is it public?

Line 72, Patchset 2 (Latest):std::optional<std::string> GetDeviceName(AudioObjectID device_id);
Olga Sharonova . unresolved

Why do we need them to be public?

File media/audio/mac/core_audio_util_mac.cc
Line 41, Patchset 2 (Latest):void SendLog(const LogCallback& log_callback,
Olga Sharonova . unresolved

If not public - place into an unnamed namespace?

Open in Gerrit

Related details

Attention is currently required from:
  • Palak Agarwal
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 2
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-Attention: Palak Agarwal <agp...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Mar 2026 16:20:05 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Olga Sharonova (Gerrit)

    unread,
    Mar 4, 2026, 11:21:32 AM (yesterday) Mar 4
    to Palak Agarwal, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Palak Agarwal

    Olga Sharonova added 1 comment

    Patchset-level comments
    File-level comment, Patchset 2 (Latest):
    Olga Sharonova . unresolved

    Note: we don't need to do any drive-by improvements here, even though some stuff is not as neat as it should be.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Palak Agarwal
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 2
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-Attention: Palak Agarwal <agp...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Mar 2026 16:21:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Palak Agarwal (Gerrit)

    unread,
    4:43 AM (10 hours ago) 4:43 AM
    to Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova

    Palak Agarwal added 3 comments

    File media/audio/mac/core_audio_util_mac.h
    Line 81, Patchset 2:void SendLog(const LogCallback& log_callback,

    const char* func_name,
    const std::string& message,
    AudioObjectPropertySelector property_selector,
    AudioObjectID audio_object_id,
    OSStatus result = noErr);
    Olga Sharonova . resolved

    Why is it public?

    Palak Agarwal

    You're right, this one doesn't need to be.

    Line 72, Patchset 2:std::optional<std::string> GetDeviceName(AudioObjectID device_id);
    Olga Sharonova . unresolved

    Why do we need them to be public?

    Palak Agarwal

    It's in preparation for the next change where I'll have them as private members of the class so that it can use the log_callback_ member that we will introduce.

    File media/audio/mac/core_audio_util_mac.cc
    Line 41, Patchset 2:void SendLog(const LogCallback& log_callback,
    Olga Sharonova . resolved

    If not public - place into an unnamed namespace?

    Palak Agarwal

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 3
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 09:43:10 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Olga Sharonova (Gerrit)

    unread,
    8:00 AM (6 hours ago) 8:00 AM
    to Palak Agarwal, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova and Palak Agarwal

    Olga Sharonova added 1 comment

    File media/audio/mac/core_audio_util_mac.h
    Line 72, Patchset 2:std::optional<std::string> GetDeviceName(AudioObjectID device_id);
    Olga Sharonova . unresolved

    Why do we need them to be public?

    Palak Agarwal

    It's in preparation for the next change where I'll have them as private members of the class so that it can use the log_callback_ member that we will introduce.

    Olga Sharonova

    I think I need to see this in context. To be clear: we cannot call these functions for the purpose of only getting the info to log. These are system calls, expensive and failure-prone.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    • Palak Agarwal
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 3
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-CC: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
    Gerrit-Attention: Palak Agarwal <agp...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 12:59:55 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
    Comment-In-Reply-To: Palak Agarwal <agp...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Palak Agarwal (Gerrit)

    unread,
    9:35 AM (5 hours ago) 9:35 AM
    to Olga Sharonova, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova and Olga Sharonova

    Palak Agarwal added 1 comment

    File media/audio/mac/core_audio_util_mac.h
    Line 72, Patchset 2:std::optional<std::string> GetDeviceName(AudioObjectID device_id);
    Olga Sharonova . resolved

    Why do we need them to be public?

    Palak Agarwal

    It's in preparation for the next change where I'll have them as private members of the class so that it can use the log_callback_ member that we will introduce.

    Olga Sharonova

    I think I need to see this in context. To be clear: we cannot call these functions for the purpose of only getting the info to log. These are system calls, expensive and failure-prone.

    Palak Agarwal

    Okay, removing them. Also added the follow-up change that adds the enumeration callback

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    • Olga Sharonova
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 4
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-CC: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
    Gerrit-Attention: Olga Sharonova <ol...@google.com>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 14:35:20 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
    Comment-In-Reply-To: Olga Sharonova <ol...@google.com>
    Comment-In-Reply-To: Palak Agarwal <agp...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Olga Sharonova (Gerrit)

    unread,
    10:04 AM (4 hours ago) 10:04 AM
    to Palak Agarwal, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova and Palak Agarwal

    Olga Sharonova added 2 comments

    File media/audio/mac/core_audio_util_mac.cc
    Line 136, Patchset 4 (Parent):
    std::optional<std::string> GetDeviceName(AudioObjectID device_id) {
    return GetDeviceStringProperty(device_id, kAudioObjectPropertyName);
    }

    std::optional<std::string> GetDeviceModel(AudioObjectID device_id) {
    return GetDeviceStringProperty(device_id, kAudioDevicePropertyModelUID);
    }
    Olga Sharonova . unresolved

    Why do you keep doing this? I think they improve readability, and it's also just matter of taste, so if the authors/owners decided to have them - why to remove them?

    Line 148, Patchset 4 (Latest): const char* func_name = __func__;
    Olga Sharonova . unresolved

    No need, ``__func__`` is already const char[]

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    • Palak Agarwal
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 4
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-CC: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Palak Agarwal <agp...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 15:03:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Palak Agarwal (Gerrit)

    unread,
    11:06 AM (3 hours ago) 11:06 AM
    to Olga Sharonova, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova and Olga Sharonova

    Palak Agarwal added 2 comments

    File media/audio/mac/core_audio_util_mac.cc
    Line 136, Patchset 4 (Parent):
    std::optional<std::string> GetDeviceName(AudioObjectID device_id) {
    return GetDeviceStringProperty(device_id, kAudioObjectPropertyName);
    }

    std::optional<std::string> GetDeviceModel(AudioObjectID device_id) {
    return GetDeviceStringProperty(device_id, kAudioDevicePropertyModelUID);
    }
    Olga Sharonova . resolved

    Why do you keep doing this? I think they improve readability, and it's also just matter of taste, so if the authors/owners decided to have them - why to remove them?

    Palak Agarwal

    My thinking is - it just has a single usage and we will have to pass a log callback to it to get logs, making it more verbose. But if you want it, then we can keep it.

    Line 148, Patchset 4: const char* func_name = __func__;
    Olga Sharonova . resolved

    No need, ``__func__`` is already const char[]

    Palak Agarwal

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    • Olga Sharonova
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 5
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-CC: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
    Gerrit-Attention: Olga Sharonova <ol...@google.com>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 16:06:43 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Olga Sharonova (Gerrit)

    unread,
    11:10 AM (3 hours ago) 11:10 AM
    to Palak Agarwal, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova and Palak Agarwal

    Olga Sharonova voted and added 1 comment

    Votes added by Olga Sharonova

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 5 (Latest):
    Olga Sharonova . resolved

    LGTM - thanks!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    • Palak Agarwal
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
    Gerrit-Change-Number: 7633184
    Gerrit-PatchSet: 5
    Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
    Gerrit-CC: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Olga Sharonova <ol...@google.com>
    Gerrit-Attention: Palak Agarwal <agp...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 16:10:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Palak Agarwal (Gerrit)

    unread,
    11:33 AM (3 hours ago) 11:33 AM
    to Olga Sharonova, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
    Attention needed from Olga Sharonova

    Palak Agarwal added 1 comment

    Patchset-level comments
    File-level comment, Patchset 2:
    Olga Sharonova . resolved

    Note: we don't need to do any drive-by improvements here, even though some stuff is not as neat as it should be.

    Palak Agarwal

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Olga Sharonova
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
      Gerrit-Change-Number: 7633184
      Gerrit-PatchSet: 5
      Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-Attention: Olga Sharonova <ol...@google.com>
      Gerrit-Comment-Date: Thu, 05 Mar 2026 16:33:04 +0000
      Gerrit-HasComments: Yes
      satisfied_requirement
      open
      diffy

      Palak Agarwal (Gerrit)

      unread,
      11:33 AM (3 hours ago) 11:33 AM
      to Olga Sharonova, Olga Sharonova, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org
      Attention needed from Olga Sharonova

      Palak Agarwal voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Olga Sharonova
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
      Gerrit-Change-Number: 7633184
      Gerrit-PatchSet: 5
      Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-Attention: Olga Sharonova <ol...@google.com>
      Gerrit-Comment-Date: Thu, 05 Mar 2026 16:33:08 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      11:50 AM (2 hours ago) 11:50 AM
      to Palak Agarwal, Olga Sharonova, Olga Sharonova, chromium...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Enhance Mac CoreAudio diagnostic logging

      This change introduces a SendLog helper function to format and send log
      messages (including OSStatus error descriptions) via the provided
      LogCallback.

      This CL will be followed up by a change that will pass the
      AudioManager::LogCallback into CoreAudio utility functions to provide
      better diagnostic information during audio device operations on macOS.
      Bug: 484894482
      Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
      Commit-Queue: Palak Agarwal <agp...@chromium.org>
      Reviewed-by: Olga Sharonova <ol...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1594725}
      Files:
      • M media/audio/mac/core_audio_util_mac.cc
      • M media/audio/mac/core_audio_util_mac.h
      Change size: M
      Delta: 2 files changed, 126 insertions(+), 39 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Olga Sharonova
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Iefe93e7a46f10d6ecacd8558308699be7aafcc8d
      Gerrit-Change-Number: 7633184
      Gerrit-PatchSet: 6
      Gerrit-Owner: Palak Agarwal <agp...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Palak Agarwal <agp...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages