Changeset 265135 in webkit


Ignore:
Timestamp:
Jul 31, 2020 12:15:25 AM (4 years ago)
Author:
youenn@apple.com
Message:

Add LibWebRTCAudioModule logging
https://bugs.webkit.org/show_bug.cgi?id=214987

Reviewed by Eric Carlson.

  • platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp:

(WebCore::LibWebRTCAudioModule::RegisterAudioCallback):
(WebCore::LibWebRTCAudioModule::StartPlayout):
(WebCore::LibWebRTCAudioModule::StopPlayout):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r265133 r265135  
     12020-07-31  Youenn Fablet  <youenn@apple.com>
     2
     3        Add LibWebRTCAudioModule logging
     4        https://bugs.webkit.org/show_bug.cgi?id=214987
     5
     6        Reviewed by Eric Carlson.
     7
     8        * platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp:
     9        (WebCore::LibWebRTCAudioModule::RegisterAudioCallback):
     10        (WebCore::LibWebRTCAudioModule::StartPlayout):
     11        (WebCore::LibWebRTCAudioModule::StopPlayout):
     12
    1132020-07-30  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp

    r259853 r265135  
    4141int32_t LibWebRTCAudioModule::RegisterAudioCallback(webrtc::AudioTransport* audioTransport)
    4242{
     43    RELEASE_LOG(WebRTC, "LibWebRTCAudioModule::RegisterAudioCallback %d", !!audioTransport);
     44
    4345    m_audioTransport = audioTransport;
    4446    return 0;
     
    4749int32_t LibWebRTCAudioModule::StartPlayout()
    4850{
     51    RELEASE_LOG(WebRTC, "LibWebRTCAudioModule::StartPlayout %d", m_isPlaying);
     52
    4953    if (m_isPlaying)
    5054        return 0;
     
    6064int32_t LibWebRTCAudioModule::StopPlayout()
    6165{
    62     if (m_isPlaying)
    63         m_isPlaying = false;
     66    RELEASE_LOG(WebRTC, "LibWebRTCAudioModule::StopPlayout %d", m_isPlaying);
     67
     68    m_isPlaying = false;
    6469    return 0;
    6570}
Note: See TracChangeset for help on using the changeset viewer.