Changeset 246312 in webkit


Ignore:
Timestamp:
Jun 11, 2019 8:13:59 AM (5 years ago)
Author:
youenn@apple.com
Message:

MediaStreamAudioSourceNode::setFormat should check for m_sourceSampleRate equality
https://bugs.webkit.org/show_bug.cgi?id=198740
<rdar://problem/47088939>

Reviewed by Eric Carlson.

Source/WebCore:

Covered by tests that are now passing.

  • Modules/webaudio/MediaStreamAudioSourceNode.cpp:

(WebCore::MediaStreamAudioSourceNode::setFormat):

LayoutTests:

  • platform/mac/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r246309 r246312  
     12019-06-11  Youenn Fablet  <youenn@apple.com>
     2
     3        MediaStreamAudioSourceNode::setFormat should check for m_sourceSampleRate equality
     4        https://bugs.webkit.org/show_bug.cgi?id=198740
     5        <rdar://problem/47088939>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * platform/mac/TestExpectations:
     10
    1112019-06-11  Fujii Hironori  <Hironori.Fujii@sony.com>
    212
  • trunk/LayoutTests/platform/mac/TestExpectations

    r246285 r246312  
    19331933
    19341934# <rdar://problem/47088939>
    1935 [ Mojave+ ] webrtc/audio-peer-connection-webaudio.html [ Failure ]
    1936 [ Mojave+ ] webrtc/audio-replace-track.html [ Failure ]
    19371935[ Mojave+ ] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html  [ Failure ]
    1938 [ Mojave+ ] webrtc/peer-connection-remote-audio-mute.html [ Skip ]
    1939 [ Mojave+ ] webrtc/peer-connection-audio-mute2.html [ Failure ]
    1940 [ Mojave+ ] webrtc/peer-connection-audio-mute.html [ Skip ]
    1941 [ Mojave+ ] webrtc/peer-connection-remote-audio-mute2.html [ Pass Failure ]
    19421936[ Mojave+ ] webaudio/realtimeanalyser-fft-scaling.html [ Pass Failure ]
    19431937[ Mojave+ ] webaudio/oscillator-sine.html [ Skip ]
  • trunk/Source/WebCore/ChangeLog

    r246310 r246312  
     12019-06-11  Youenn Fablet  <youenn@apple.com>
     2
     3        MediaStreamAudioSourceNode::setFormat should check for m_sourceSampleRate equality
     4        https://bugs.webkit.org/show_bug.cgi?id=198740
     5        <rdar://problem/47088939>
     6
     7        Reviewed by Eric Carlson.
     8
     9        Covered by tests that are now passing.
     10
     11        * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
     12        (WebCore::MediaStreamAudioSourceNode::setFormat):
     13
    1142019-06-11  Ludovico de Nittis  <ludovico.denittis@collabora.com>
    215
  • trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.cpp

    r243887 r246312  
    7373{
    7474    float sampleRate = this->sampleRate();
    75     if (numberOfChannels == m_sourceNumberOfChannels && sourceSampleRate == sampleRate)
     75    if (numberOfChannels == m_sourceNumberOfChannels && sourceSampleRate == m_sourceSampleRate)
    7676        return;
    7777
Note: See TracChangeset for help on using the changeset viewer.