RESOLVED FIXED 199814
Add release logging to AudioSampleDataSource
https://bugs.webkit.org/show_bug.cgi?id=199814
Summary Add release logging to AudioSampleDataSource
youenn fablet
Reported 2019-07-15 16:33:17 PDT
Currently some error cases are using logging. release logging might be better to debug cases when something wrong happens when data is pushed/pulled in the ring buffer.
Attachments
Patch (16.62 KB, patch)
2019-07-15 17:49 PDT, youenn fablet
no flags
Patch for landing (16.64 KB, patch)
2019-07-17 08:42 PDT, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2019-07-15 16:33:41 PDT
youenn fablet
Comment 2 2019-07-15 17:49:23 PDT
Eric Carlson
Comment 3 2019-07-16 04:49:19 PDT
Comment on attachment 374174 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=374174&action=review > Source/WebCore/ChangeLog:16 > + In that case, we change of logger when changing of MediaStreamTrackPrivate. Nit: s/change of logger when changing of/change the logger when changing the/ > Source/WebCore/platform/audio/mac/AudioSampleDataSource.mm:278 > + ALWAYS_LOG("sample ", timeStamp, " is not completely in range [", startFrame, " .. ", endFrame, "], returning ", framesAvailable, " frames"); > + if (framesAvailable < sampleCount) > + ALWAYS_LOG("not enough data available, returning zeroes"); Nit: should these be ERROR_LOG?
youenn fablet
Comment 4 2019-07-17 08:42:52 PDT
Created attachment 374295 [details] Patch for landing
WebKit Commit Bot
Comment 5 2019-07-17 11:11:42 PDT
Comment on attachment 374295 [details] Patch for landing Clearing flags on attachment: 374295 Committed r247522: <https://trac.webkit.org/changeset/247522>
WebKit Commit Bot
Comment 6 2019-07-17 11:11:44 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.