[GStreamer] Silent WebAudio buffers support
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Apr 2015 10:43:22 +0000 (10:43 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Apr 2015 10:43:22 +0000 (10:43 +0000)
commitc258bdb93b30b9a544ac5133122dce0c36477eb0
tree3657e082f5025c501f8c3dfbccc5c4cb6c562d74
parenta0897afa2d4c23ce7a2b41d5654f2b702c458f23
[GStreamer] Silent WebAudio buffers support
https://bugs.webkit.org/show_bug.cgi?id=143869

Reviewed by Carlos Garcia Campos.

* platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcLoop): Set gap flag on silent buffers. The audio
sink can then drop them and avoid un-necessary buffer processing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp