Title: [213478] trunk/Source/WebCore
- Revision
- 213478
- Author
- [email protected]
- Date
- 2017-03-06 16:09:19 -0800 (Mon, 06 Mar 2017)
Log 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 <[email protected]> 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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (213477 => 213478)
--- trunk/Source/WebCore/ChangeLog 2017-03-06 23:38:02 UTC (rev 213477)
+++ trunk/Source/WebCore/ChangeLog 2017-03-07 00:09:19 UTC (rev 213478)
@@ -1,3 +1,14 @@
+2017-03-06 Youenn Fablet <[email protected]>
+
+ ASSERTION FAILED: numberOfChannels == 2 in WebCore::RealtimeIncomingAudioSource::OnData
+ https://bugs.webkit.org/show_bug.cgi?id=169224
+ <rdar://problem/30856811>
+
+ 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.
+
2017-03-06 Chris Dumez <[email protected]>
[iOS] Throttle CSS animations to 30fps in low power mode
Modified: trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingAudioSource.cpp (213477 => 213478)
--- trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingAudioSource.cpp 2017-03-06 23:38:02 UTC (rev 213477)
+++ trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingAudioSource.cpp 2017-03-07 00:09:19 UTC (rev 213478)
@@ -81,7 +81,7 @@
return;
ASSERT(bitsPerSample == 16);
- ASSERT(numberOfChannels == 2);
+ ASSERT(numberOfChannels == 1 || numberOfChannels == 2);
ASSERT(sampleRate == 48000);
CMTime startTime = CMTimeMake(m_numberOfFrames, sampleRate);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes