⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 288441 in webkit


Ignore:
Timestamp:
Jan 24, 2022, 8:03:50 AM (5 years ago)
Author:
youenn@apple.com
Message:

AVAudioSessionCaptureDeviceManager is not always computing the right default input device
​https://bugs.webkit.org/show_bug.cgi?id=235362
<rdar://87707090>

Addressing post commit comments.

Reviewed by Eric Carlson and Geoff Garen.

  • platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm:

Fixed the release logging.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r288440 r288441  
     12022-01-24  Youenn Fablet  <youenn@apple.com>
     2
     3        AVAudioSessionCaptureDeviceManager is not always computing the right default input device
     4        https://bugs.webkit.org/show_bug.cgi?id=235362
     5        <rdar://87707090>
     6
     7        Addressing post commit comments.
     8
     9        Reviewed by Eric Carlson and Geoff Garen.
     10
     11        * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm:
     12        Fixed the release logging.
     13
    1142022-01-24  Antoine Quint  <graouts@webkit.org>
    215
  • trunk/Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm

    r288275 r288441  
    238238{
    239239    auto *defaultInput = [m_audioSession currentRoute].inputs.firstObject;
    240     if (!defaultInput)
     240    if (!defaultInput) {
     241        RELEASE_LOG_INFO(WebRTC, "AVAudioSessionCaptureDeviceManager using previous default input");
    241242        defaultInput = m_lastDefaultMicrophone.get();
    242     else {
    243         RELEASE_LOG_INFO(WebRTC, "AVAudioSessionCaptureDeviceManager using previous default input");
     243    } else
    244244        m_lastDefaultMicrophone = defaultInput;
    245     }
     245
    246246    auto availableInputs = [m_audioSession availableInputs];
    247247
Note: See TracChangeset for help on using the changeset viewer.