Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Issue 499233003: Binding media stream audio track to speech recognition [renderer] (Closed)

Created:
6 years, 4 months ago by burnik
Modified:
6 years, 2 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chrome support for binding media stream audio track to speech recognition - renderer implementation. WebKit CL : http://crrev.com/448163003 [ Renderer CL ] Browser CL : http://crrev.com/549373003 SpeechRecognitionAudioSink is an audio sink which delivers audio data via SharedMemory and SyncSocket to the peer (speech recognizer impl on the browser). Audio resampling is done here rather than on the browser process. Synchronization is done by managing two buffer indices, one in SpeechRecognitionAudioSink incremented locally and the other in shared memory incremented by the peer. Both buffer indices must match before a new signal is issued to the peer via |SyncSocket::Send()|. That 4B signal is complemented by a |SyncSocket::Receive()| and used to trigger consumption on the peer. WebMediaStreamTrack object is checked to be sourced from an audio device, avoiding possible WebAudio injection. Unsupported tracks get notified to WebKit and session fails to start. Issues with signaling over the SyncSocket are logged. Design doc: http://goo.gl/9Ot3PC BUG=408940 Committed: https://crrev.com/2eeb46675144086a100ce6497f4b8ac5e56fcdb1 Cr-Commit-Position: refs/heads/master@{#298981}

Patch Set 1 #

Patch Set 2 : style fix #

Total comments: 46

Patch Set 3 : SyncSocket implementation + refactoring #

Patch Set 4 : Platform checks removed from dispatcher #

Total comments: 78

Patch Set 5 : Add unit test and refactor #

Total comments: 85

Patch Set 6 : Refactoring on callbacks and error states #

Total comments: 72

Patch Set 7 : Refactoring unit test and source provider, moved to media #

Total comments: 8

Patch Set 8 : SyncSocket leak and FIFO fixes. Test 8-192KHz for input. #

Total comments: 54

Patch Set 9 : Refactoring, error states, more comments. #

Total comments: 45

Patch Set 10 : s/SpeechRecognitionAudioSourceProvider/SpeechRecognitionAudioSink/ #

Total comments: 1

Patch Set 11 : Change error type for unsupported tracks #

Total comments: 16

Patch Set 12 : Nits, comments, refactoring, rebasing. #

Total comments: 13

Patch Set 13 : Comments + bugfix #

Total comments: 15

Patch Set 14 : Unit test nits + ctor comments #

Total comments: 4

Patch Set 15 : Remove peer_buffer_index_ #

Total comments: 2

Patch Set 16 : s/audio_input_buffer/GetAudioInputBuffer/ #

Patch Set 17 : Add ENABLE_WEBRTC flag checks #

Total comments: 2

Patch Set 18 : Remove override for blink impl #

Patch Set 19 : Rebase on master - merge fix #

Total comments: 8

Patch Set 20 : s/OnSharedAudioBusReady/OnAudioReceiverReady/ + nits #

Total comments: 4

Patch Set 21 : Nits done. Preland checks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+906 lines, -7 lines) Patch
M content/common/speech_recognition_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +11 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
A content/renderer/media/speech_recognition_audio_sink.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +119 lines, -0 lines 0 comments Download
A content/renderer/media/speech_recognition_audio_sink.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +188 lines, -0 lines 0 comments Download
A content/renderer/media/speech_recognition_audio_sink_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +485 lines, -0 lines 0 comments Download
M content/renderer/speech_recognition_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +29 lines, -3 lines 0 comments Download
M content/renderer/speech_recognition_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 11 chunks +71 lines, -4 lines 0 comments Download

Messages

Total messages: 91 (11 generated)
burnik
Please review my CL. :-)
6 years, 4 months ago (2014-08-25 14:14:42 UTC) #1
henrika (OOO until Aug 14)
This is a very large CL adding about 400 lines of code. Any design doc ...
6 years, 4 months ago (2014-08-25 14:24:48 UTC) #2
no longer working on chromium
I would like to see an updated version of CL which uses sync socket + ...
6 years, 4 months ago (2014-08-25 14:38:09 UTC) #3
tommi (sloooow) - chröme
First review round. Neatly written code. https://codereview.chromium.org/499233003/diff/20001/content/renderer/speech_recognition_audio_source_provider.cc File content/renderer/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/20001/content/renderer/speech_recognition_audio_source_provider.cc#newcode22 content/renderer/speech_recognition_audio_source_provider.cc:22: ) put on ...
6 years, 4 months ago (2014-08-25 14:38:46 UTC) #4
henrika (OOO until Aug 14)
Agree, looks really good! Just some nits for now; see that Tommi added some comments ...
6 years, 4 months ago (2014-08-25 14:46:00 UTC) #5
burnik
SyncSocket implementation. Updating design doc & working on unit test. https://codereview.chromium.org/499233003/diff/20001/content/renderer/speech_recognition_audio_source_provider.cc File content/renderer/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/20001/content/renderer/speech_recognition_audio_source_provider.cc#newcode22 ...
6 years, 3 months ago (2014-08-29 09:18:16 UTC) #6
tommi (sloooow) - chröme
https://codereview.chromium.org/499233003/diff/20001/content/renderer/speech_recognition_audio_source_provider.cc File content/renderer/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/20001/content/renderer/speech_recognition_audio_source_provider.cc#newcode25 content/renderer/speech_recognition_audio_source_provider.cc:25: output_params_(params), On 2014/08/29 09:18:16, burnik wrote: > I think ...
6 years, 3 months ago (2014-08-29 11:25:32 UTC) #7
no longer working on chromium
https://codereview.chromium.org/499233003/diff/60001/base/native_sync_socket.h File base/native_sync_socket.h (right): https://codereview.chromium.org/499233003/diff/60001/base/native_sync_socket.h#newcode18 base/native_sync_socket.h:18: class NativeSyncSocket { You and I should have a ...
6 years, 3 months ago (2014-08-29 12:23:07 UTC) #8
henrika (OOO until Aug 14)
Seems like you have a large set of comments and I don't want to add ...
6 years, 3 months ago (2014-08-29 12:28:55 UTC) #9
burnik
All good comments. Some discusssion is required to resolve a few questions. https://codereview.chromium.org/499233003/diff/60001/base/native_sync_socket.h File base/native_sync_socket.h ...
6 years, 3 months ago (2014-08-29 13:26:18 UTC) #10
burnik
Took some time, but finally - unit test included. Also updated design doc. Hopefully it's ...
6 years, 3 months ago (2014-09-12 12:09:12 UTC) #12
henrika (OOO until Aug 14)
Looks impressive and a bit too big for me to swallow in one bite. Starting ...
6 years, 3 months ago (2014-09-12 12:27:47 UTC) #13
no longer working on chromium
Nice work in general. I haven't really looked at the unittest yet, it might be ...
6 years, 3 months ago (2014-09-15 08:31:29 UTC) #14
burnik
Cleaned up a bit and simplified. Hoping to get more feedback from other reviewers. Special ...
6 years, 3 months ago (2014-09-15 15:00:07 UTC) #16
jamesr
Could this go in content/renderer/media/ instead?
6 years, 3 months ago (2014-09-15 17:22:10 UTC) #17
kenrb
ipc lgtm
6 years, 3 months ago (2014-09-15 19:33:11 UTC) #18
burnik
On 2014/09/15 17:22:10, jamesr wrote: > Could this go in content/renderer/media/ instead? Done. Next patchset ...
6 years, 3 months ago (2014-09-16 09:04:16 UTC) #19
no longer working on chromium
https://codereview.chromium.org/499233003/diff/80001/content/renderer/speech_recognition_audio_source_provider.cc File content/renderer/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/80001/content/renderer/speech_recognition_audio_source_provider.cc#newcode9 content/renderer/speech_recognition_audio_source_provider.cc:9: #include "base/threading/thread_restrictions.h" why do you have this base/threading/thread_restrictions.h in ...
6 years, 3 months ago (2014-09-16 12:44:07 UTC) #20
burnik
Refactoring unit test and source provider, moved to media
6 years, 3 months ago (2014-09-16 19:06:46 UTC) #23
burnik
Comments addressed. A few questions still open. https://codereview.chromium.org/499233003/diff/80001/content/renderer/speech_recognition_audio_source_provider.cc File content/renderer/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/80001/content/renderer/speech_recognition_audio_source_provider.cc#newcode9 content/renderer/speech_recognition_audio_source_provider.cc:9: #include "base/threading/thread_restrictions.h" ...
6 years, 3 months ago (2014-09-16 19:10:25 UTC) #24
burnik
Reviewers +jochen -gshires1
6 years, 3 months ago (2014-09-17 15:53:07 UTC) #26
no longer working on chromium
Some more comments about the production code, I will try to take a look at ...
6 years, 3 months ago (2014-09-17 15:55:20 UTC) #27
burnik
Fixed leaking SyncSocket - appears in next patchest. Anyone else care to take a look ...
6 years, 3 months ago (2014-09-18 09:19:35 UTC) #28
burnik
xians: Wanted to check with you if this is what you meant by calculating the ...
6 years, 3 months ago (2014-09-18 19:09:22 UTC) #29
no longer working on chromium
Hi Kristijan, did you forget to upload a new version? https://codereview.chromium.org/499233003/diff/80001/content/renderer/speech_recognition_audio_source_provider.cc File content/renderer/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/80001/content/renderer/speech_recognition_audio_source_provider.cc#newcode73 ...
6 years, 3 months ago (2014-09-19 08:58:56 UTC) #30
burnik
On 2014/09/19 08:58:56, xians1 wrote: > Hi Kristijan, did you forget to upload a new ...
6 years, 3 months ago (2014-09-19 09:24:09 UTC) #31
burnik
SyncSocket leak and FIFO fixes. Test 8-192Khz for input.
6 years, 3 months ago (2014-09-19 14:08:52 UTC) #32
burnik
As I'm refactoring for the next patchset, I would like to get more opinions on ...
6 years, 3 months ago (2014-09-22 07:43:12 UTC) #33
henrika (OOO until Aug 14)
Don't qualify as expert reviewer on the unit test. Added generic comments. https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider_unittest.cc File content/renderer/media/speech_recognition_audio_source_provider_unittest.cc ...
6 years, 3 months ago (2014-09-22 08:02:19 UTC) #34
burnik
Addresed comments. Waiting for other reviewers before next patchset. https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider_unittest.cc File content/renderer/media/speech_recognition_audio_source_provider_unittest.cc (right): https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider_unittest.cc#newcode84 content/renderer/media/speech_recognition_audio_source_provider_unittest.cc:84: ...
6 years, 3 months ago (2014-09-22 09:17:37 UTC) #35
no longer working on chromium
Great work, it is getting closer. https://codereview.chromium.org/499233003/diff/180001/content/common/speech_recognition_messages.h File content/common/speech_recognition_messages.h (right): https://codereview.chromium.org/499233003/diff/180001/content/common/speech_recognition_messages.h#newcode10 content/common/speech_recognition_messages.h:10: #include "base/process/process_handle.h" On ...
6 years, 3 months ago (2014-09-23 10:09:14 UTC) #36
henrika (OOO until Aug 14)
https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider_unittest.cc File content/renderer/media/speech_recognition_audio_source_provider_unittest.cc (right): https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider_unittest.cc#newcode86 content/renderer/media/speech_recognition_audio_source_provider_unittest.cc:86: class FakeSpeechRecognizer { I am not saying it will ...
6 years, 3 months ago (2014-09-23 10:45:33 UTC) #37
burnik
Refactoring, error states, more comments.
6 years, 3 months ago (2014-09-23 12:38:57 UTC) #38
burnik
New patchset is out. :-) https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider.h File content/renderer/media/speech_recognition_audio_source_provider.h (right): https://codereview.chromium.org/499233003/diff/180001/content/renderer/media/speech_recognition_audio_source_provider.h#newcode5 content/renderer/media/speech_recognition_audio_source_provider.h:5: #ifndef CONTENT_RENDERER_SPEECH_RECOGNITION_AUDIO_SOURCE_PROVIDER_H_ On 2014/09/23 ...
6 years, 3 months ago (2014-09-23 12:39:21 UTC) #39
jamesr
Please ping once you have an OWNER for content/renderer/media approve this. https://codereview.chromium.org/499233003/diff/200001/content/renderer/speech_recognition_dispatcher.h File content/renderer/speech_recognition_dispatcher.h (right): ...
6 years, 3 months ago (2014-09-23 23:31:40 UTC) #40
burnik
jamesr: Quick follow up on comments. https://codereview.chromium.org/499233003/diff/200001/content/renderer/speech_recognition_dispatcher.h File content/renderer/speech_recognition_dispatcher.h (right): https://codereview.chromium.org/499233003/diff/200001/content/renderer/speech_recognition_dispatcher.h#newcode64 content/renderer/speech_recognition_dispatcher.h:64: // Called by ...
6 years, 3 months ago (2014-09-24 09:04:38 UTC) #41
tommi (sloooow) - chröme
https://codereview.chromium.org/499233003/diff/200001/content/renderer/media/speech_recognition_audio_source_provider.cc File content/renderer/media/speech_recognition_audio_source_provider.cc (right): https://codereview.chromium.org/499233003/diff/200001/content/renderer/media/speech_recognition_audio_source_provider.cc#newcode178 content/renderer/media/speech_recognition_audio_source_provider.cc:178: return 1.0; document what this means? https://codereview.chromium.org/499233003/diff/200001/content/renderer/media/speech_recognition_audio_source_provider.h File content/renderer/media/speech_recognition_audio_source_provider.h ...
6 years, 3 months ago (2014-09-24 09:52:00 UTC) #42
burnik
Good review round. There are a few open questions for jamesr, tommi and Shijing. Please ...
6 years, 3 months ago (2014-09-24 11:54:23 UTC) #43
no longer working on chromium
https://codereview.chromium.org/499233003/diff/200001/content/renderer/media/speech_recognition_audio_source_provider.h File content/renderer/media/speech_recognition_audio_source_provider.h (right): https://codereview.chromium.org/499233003/diff/200001/content/renderer/media/speech_recognition_audio_source_provider.h#newcode27 content/renderer/media/speech_recognition_audio_source_provider.h:27: // SpeechRecognitionAudioSourceProvider works as an audio sink to the ...
6 years, 3 months ago (2014-09-24 13:40:47 UTC) #44
jamesr
On 2014/09/24 09:04:38, burnik wrote: > https://codereview.chromium.org/499233003/diff/200001/content/renderer/speech_recognition_dispatcher.h#newcode68 > content/renderer/speech_recognition_dispatcher.h:68: // Called By > |audio_source_provider_|. > ...
6 years, 3 months ago (2014-09-24 18:40:25 UTC) #45
burnik
On 2014/09/24 18:40:25, jamesr wrote: > On 2014/09/24 09:04:38, burnik wrote: > > > https://codereview.chromium.org/499233003/diff/200001/content/renderer/speech_recognition_dispatcher.h#newcode68 ...
6 years, 2 months ago (2014-09-25 09:50:51 UTC) #46
burnik
Patchset 10. Renamed the new class and unit test. Nits addressed. Any owners feel like ...
6 years, 2 months ago (2014-09-25 12:56:24 UTC) #47
burnik
https://codereview.chromium.org/499233003/diff/220001/content/renderer/speech_recognition_dispatcher.cc File content/renderer/speech_recognition_dispatcher.cc (right): https://codereview.chromium.org/499233003/diff/220001/content/renderer/speech_recognition_dispatcher.cc#newcode79 content/renderer/speech_recognition_dispatcher.cc:79: WebString("Provided audioTrack is not supported. Ignoring track."), Removed "Ignoring ...
6 years, 2 months ago (2014-09-25 13:15:21 UTC) #48
no longer working on chromium
Some nits, lgtm after you address them. https://codereview.chromium.org/499233003/diff/240001/content/common/speech_recognition_messages.h File content/common/speech_recognition_messages.h (right): https://codereview.chromium.org/499233003/diff/240001/content/common/speech_recognition_messages.h#newcode68 content/common/speech_recognition_messages.h:68: // Wheter ...
6 years, 2 months ago (2014-09-29 09:28:57 UTC) #49
burnik
Nits addressed. Waiting for remaining owners to stamp. https://codereview.chromium.org/499233003/diff/240001/content/common/speech_recognition_messages.h File content/common/speech_recognition_messages.h (right): https://codereview.chromium.org/499233003/diff/240001/content/common/speech_recognition_messages.h#newcode68 content/common/speech_recognition_messages.h:68: // ...
6 years, 2 months ago (2014-09-29 10:24:32 UTC) #50
burnik
Addressed remaining comment from previous patchset. https://codereview.chromium.org/499233003/diff/240001/content/renderer/speech_recognition_dispatcher.cc File content/renderer/speech_recognition_dispatcher.cc (right): https://codereview.chromium.org/499233003/diff/240001/content/renderer/speech_recognition_dispatcher.cc#newcode290 content/renderer/speech_recognition_dispatcher.cc:290: void SpeechRecognitionDispatcher::ResetAudioSourceProvider() { ...
6 years, 2 months ago (2014-09-29 10:38:12 UTC) #51
henrika (OOO until Aug 14)
LGTM w/ nits ;-) https://codereview.chromium.org/499233003/diff/260001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): https://codereview.chromium.org/499233003/diff/260001/content/renderer/media/speech_recognition_audio_sink.cc#newcode36 content/renderer/media/speech_recognition_audio_sink.cc:36: // Buffer index for sync ...
6 years, 2 months ago (2014-09-29 10:38:41 UTC) #52
burnik
Comments + bugfix
6 years, 2 months ago (2014-09-29 12:06:56 UTC) #53
burnik
Updated CL description and comments. https://codereview.chromium.org/499233003/diff/260001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): https://codereview.chromium.org/499233003/diff/260001/content/renderer/media/speech_recognition_audio_sink.cc#newcode36 content/renderer/media/speech_recognition_audio_sink.cc:36: // Buffer index for ...
6 years, 2 months ago (2014-09-29 12:07:31 UTC) #54
jochen (gone - plz use gerrit)
lgtm with nits https://codereview.chromium.org/499233003/diff/280001/content/renderer/media/speech_recognition_audio_sink.h File content/renderer/media/speech_recognition_audio_sink.h (right): https://codereview.chromium.org/499233003/diff/280001/content/renderer/media/speech_recognition_audio_sink.h#newcode39 content/renderer/media/speech_recognition_audio_sink.h:39: SpeechRecognitionAudioSink(/* ExtraData reference is copied from ...
6 years, 2 months ago (2014-09-30 08:23:59 UTC) #55
burnik
One open questions for tommi/xians/jochen before next patchset. https://codereview.chromium.org/499233003/diff/280001/content/renderer/media/speech_recognition_audio_sink.h File content/renderer/media/speech_recognition_audio_sink.h (right): https://codereview.chromium.org/499233003/diff/280001/content/renderer/media/speech_recognition_audio_sink.h#newcode39 content/renderer/media/speech_recognition_audio_sink.h:39: SpeechRecognitionAudioSink(/* ...
6 years, 2 months ago (2014-09-30 09:57:47 UTC) #56
burnik
Quick follow up on the previous question. https://codereview.chromium.org/499233003/diff/280001/content/renderer/media/speech_recognition_audio_sink.h File content/renderer/media/speech_recognition_audio_sink.h (right): https://codereview.chromium.org/499233003/diff/280001/content/renderer/media/speech_recognition_audio_sink.h#newcode39 content/renderer/media/speech_recognition_audio_sink.h:39: SpeechRecognitionAudioSink(/* ExtraData ...
6 years, 2 months ago (2014-09-30 10:16:35 UTC) #57
jochen (gone - plz use gerrit)
I think that the parameter types make the ownership clear enough.
6 years, 2 months ago (2014-10-06 07:13:04 UTC) #58
tommi (sloooow) - chröme
agree with jochen re ownership documentation. The cl looks good but I'd like to chat ...
6 years, 2 months ago (2014-10-06 20:30:33 UTC) #59
burnik
How about it? :) https://codereview.chromium.org/499233003/diff/300001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): https://codereview.chromium.org/499233003/diff/300001/content/renderer/media/speech_recognition_audio_sink.cc#newcode40 content/renderer/media/speech_recognition_audio_sink.cc:40: peer_buffer_index_ = &(buffer->params.size); On 2014/10/06 ...
6 years, 2 months ago (2014-10-07 09:01:09 UTC) #60
no longer working on chromium
https://codereview.chromium.org/499233003/diff/300001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): https://codereview.chromium.org/499233003/diff/300001/content/renderer/media/speech_recognition_audio_sink.cc#newcode40 content/renderer/media/speech_recognition_audio_sink.cc:40: peer_buffer_index_ = &(buffer->params.size); On 2014/10/07 09:01:09, burnik wrote: > ...
6 years, 2 months ago (2014-10-07 09:46:19 UTC) #61
burnik
Removed the peer_buffer_index_ , using audio_input_buffer()->params.size. Also a bit of refactoring. https://codereview.chromium.org/499233003/diff/300001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): ...
6 years, 2 months ago (2014-10-07 15:05:48 UTC) #62
no longer working on chromium
https://codereview.chromium.org/499233003/diff/320001/content/renderer/media/speech_recognition_audio_sink.h File content/renderer/media/speech_recognition_audio_sink.h (right): https://codereview.chromium.org/499233003/diff/320001/content/renderer/media/speech_recognition_audio_sink.h#newcode65 content/renderer/media/speech_recognition_audio_sink.h:65: media::AudioInputBuffer* audio_input_buffer() const; nit, I am afraid hacker_style is ...
6 years, 2 months ago (2014-10-07 15:21:12 UTC) #63
burnik
https://codereview.chromium.org/499233003/diff/320001/content/renderer/media/speech_recognition_audio_sink.h File content/renderer/media/speech_recognition_audio_sink.h (right): https://codereview.chromium.org/499233003/diff/320001/content/renderer/media/speech_recognition_audio_sink.h#newcode65 content/renderer/media/speech_recognition_audio_sink.h:65: media::AudioInputBuffer* audio_input_buffer() const; On 2014/10/07 15:21:12, xians1 wrote: > ...
6 years, 2 months ago (2014-10-07 15:27:26 UTC) #64
no longer working on chromium
lgtm
6 years, 2 months ago (2014-10-07 15:35:39 UTC) #65
tommi (sloooow) - chröme
thanks! lgtm
6 years, 2 months ago (2014-10-08 13:40:44 UTC) #66
burnik
Add ENABLE_WEBRTC flag checks
6 years, 2 months ago (2014-10-08 14:51:05 UTC) #67
jamesr
https://codereview.chromium.org/499233003/diff/360001/content/renderer/speech_recognition_dispatcher.h File content/renderer/speech_recognition_dispatcher.h (right): https://codereview.chromium.org/499233003/diff/360001/content/renderer/speech_recognition_dispatcher.h#newcode52 content/renderer/speech_recognition_dispatcher.h:52: blink::WebSpeechRecognizerClient*) override; not lgtm, you should never use override ...
6 years, 2 months ago (2014-10-08 19:14:11 UTC) #68
burnik
Remove override for blink impl
6 years, 2 months ago (2014-10-09 07:33:31 UTC) #69
burnik
Good point, can't say why anyone had put it there earlier... https://codereview.chromium.org/499233003/diff/360001/content/renderer/speech_recognition_dispatcher.h File content/renderer/speech_recognition_dispatcher.h (right): ...
6 years, 2 months ago (2014-10-09 07:35:08 UTC) #70
burnik
Good point, can't say why anyone had put it there earlier...
6 years, 2 months ago (2014-10-09 07:35:14 UTC) #71
burnik
Rebase on master - merge fix
6 years, 2 months ago (2014-10-09 10:07:45 UTC) #72
no longer working on chromium
https://codereview.chromium.org/499233003/diff/400001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/499233003/diff/400001/content/content_renderer.gypi#newcode629 content/content_renderer.gypi:629: 'renderer/media/speech_recognition_audio_sink.cc', have you excluded these classed when enable_webrtc == ...
6 years, 2 months ago (2014-10-09 12:19:03 UTC) #73
burnik
s/OnSharedAudioBusReady/OnAudioReceiverReady/ + nits
6 years, 2 months ago (2014-10-09 13:12:17 UTC) #74
burnik
Nits done. https://codereview.chromium.org/499233003/diff/400001/content/content_renderer.gypi File content/content_renderer.gypi (right): https://codereview.chromium.org/499233003/diff/400001/content/content_renderer.gypi#newcode629 content/content_renderer.gypi:629: 'renderer/media/speech_recognition_audio_sink.cc', On 2014/10/09 12:19:02, xians1 wrote: > ...
6 years, 2 months ago (2014-10-09 13:13:04 UTC) #75
no longer working on chromium
lgtm again.
6 years, 2 months ago (2014-10-09 13:49:26 UTC) #76
jamesr
content/renderer lgtm https://codereview.chromium.org/499233003/diff/420001/content/renderer/speech_recognition_dispatcher.cc File content/renderer/speech_recognition_dispatcher.cc (right): https://codereview.chromium.org/499233003/diff/420001/content/renderer/speech_recognition_dispatcher.cc#newcode10 content/renderer/speech_recognition_dispatcher.cc:10: #if defined(ENABLE_WEBRTC) put the #ifdef block below ...
6 years, 2 months ago (2014-10-09 17:10:29 UTC) #77
burnik
Nits done. Preland checks.
6 years, 2 months ago (2014-10-09 20:02:34 UTC) #80
burnik
Good point on the comment. Thx. :) https://codereview.chromium.org/499233003/diff/420001/content/renderer/speech_recognition_dispatcher.cc File content/renderer/speech_recognition_dispatcher.cc (right): https://codereview.chromium.org/499233003/diff/420001/content/renderer/speech_recognition_dispatcher.cc#newcode10 content/renderer/speech_recognition_dispatcher.cc:10: #if defined(ENABLE_WEBRTC) ...
6 years, 2 months ago (2014-10-09 20:03:35 UTC) #81
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/499233003/480001
6 years, 2 months ago (2014-10-09 20:47:25 UTC) #83
commit-bot: I haz the power
Committed patchset #21 (id:480001)
6 years, 2 months ago (2014-10-09 21:30:28 UTC) #84
commit-bot: I haz the power
Patchset 21 (id:??) landed as https://crrev.com/2eeb46675144086a100ce6497f4b8ac5e56fcdb1 Cr-Commit-Position: refs/heads/master@{#298981}
6 years, 2 months ago (2014-10-09 21:31:35 UTC) #85
burnik
Shared memory initialization in unit test - bugfix
6 years, 2 months ago (2014-10-10 09:49:43 UTC) #86
burnik
Remove suppression for unit test
6 years, 2 months ago (2014-10-10 09:54:26 UTC) #87
burnik
6 years, 2 months ago (2014-10-10 09:59:16 UTC) #89
Please review the fix.

Powered by Google App Engine
This is Rietveld 408576698