Changeset 213478 in webkit


Ignore:
Timestamp:
Mar 6, 2017 4:09:19 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

ASSERTION FAILED: numberOfChannels == 2 in WebCore::RealtimeIncomingAudioSource::OnData
https://bugs.webkit.org/show_bug.cgi?id=169224
<rdar://problem/30856811>

Patch by Youenn Fablet <youenn@apple.com> on 2017-03-06
Reviewed by Alex Christensen.

  • platform/mediastream/mac/RealtimeIncomingAudioSource.cpp:

(WebCore::RealtimeIncomingAudioSource::OnData): Updated assertion to allow 1 channel since we can handle it as well.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r213473 r213478  
     12017-03-06  Youenn Fablet  <youenn@apple.com>
     2
     3        ASSERTION FAILED: numberOfChannels == 2 in WebCore::RealtimeIncomingAudioSource::OnData
     4        https://bugs.webkit.org/show_bug.cgi?id=169224
     5        <rdar://problem/30856811>
     6
     7        Reviewed by Alex Christensen.
     8
     9        * platform/mediastream/mac/RealtimeIncomingAudioSource.cpp:
     10        (WebCore::RealtimeIncomingAudioSource::OnData): Updated assertion to allow 1 channel since we can handle it as well.
     11
    1122017-03-06  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingAudioSource.cpp

    r213424 r213478  
    8282
    8383    ASSERT(bitsPerSample == 16);
    84     ASSERT(numberOfChannels == 2);
     84    ASSERT(numberOfChannels == 1 || numberOfChannels == 2);
    8585    ASSERT(sampleRate == 48000);
    8686
Note: See TracChangeset for help on using the changeset viewer.