Bug 139370

Summary: [GStreamer] Major cleanups of AudioDestination implementation
Product: WebKit Reporter: Sebastian Dröge (slomo) <slomo>
Component: MediaAssignee: Sebastian Dröge (slomo) <slomo>
Status: RESOLVED FIXED    
Severity: Minor CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
pnormand: review+
Patch
none
Patch none

Description Sebastian Dröge (slomo) 2014-12-07 10:28:52 PST
Patch coming in a second.
Comment 1 Sebastian Dröge (slomo) 2014-12-07 10:30:18 PST
Created attachment 242753 [details]
Patch
Comment 2 WebKit Commit Bot 2014-12-07 10:32:38 PST
Attachment 242753 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:83:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Sebastian Dröge (slomo) 2014-12-07 10:33:55 PST
This style error was there before, what do you suggest for fixing this? It's not clear to me what the style guide recommends for cases like this.
Comment 4 Sebastian Dröge (slomo) 2014-12-07 10:39:24 PST
Created attachment 242756 [details]
Patch
Comment 5 Sebastian Dröge (slomo) 2014-12-07 11:52:59 PST
Created attachment 242763 [details]
Patch
Comment 6 Sebastian Dröge (slomo) 2014-12-07 13:17:29 PST
Created attachment 242767 [details]
Patch
Comment 7 Philippe Normand 2014-12-08 00:31:59 PST
Comment on attachment 242763 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=242763&action=review

> Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:66
> +    guint64 numSamples;

We usually try to avoid abbreviations in variable names. I don't have many suggestions, I'm bad at naming stuff :)
Comment 8 Sebastian Dröge (slomo) 2014-12-08 00:50:49 PST
I could call it numberOfSamples if you prefer that :) Should I change it or is it ok like that?
Comment 9 Sebastian Dröge (slomo) 2014-12-08 00:54:42 PST
Created attachment 242789 [details]
Patch
Comment 10 WebKit Commit Bot 2014-12-08 01:33:52 PST
Comment on attachment 242789 [details]
Patch

Clearing flags on attachment: 242789

Committed r176943: <http://trac.webkit.org/changeset/176943>
Comment 11 WebKit Commit Bot 2014-12-08 01:33:55 PST
All reviewed patches have been landed.  Closing bug.