On 2016/12/08 17:14:38, Raymond Toy wrote:
> Does this introduce LatencyHint into the global namespace? If so, that's
> probably not something we want.
I believe it does. I've renamed it to AudioContextLatencyHint, does that work?
hongchan@ mentioned in a previous comment that having this typedef is the way to
ensure that the AudioContextLatencyCategoryOrDouble type is generated properly.
Raymond Toy
2016/12/13 15:53:11
That would be unfortunate, I think. In my origina
On 2016/12/09 12:34:14, Andrew MacPherson wrote:
> On 2016/12/08 17:14:38, Raymond Toy wrote:
> > Does this introduce LatencyHint into the global namespace? If so, that's
> > probably not something we want.
>
> I believe it does. I've renamed it to AudioContextLatencyHint, does that work?
> hongchan@ mentioned in a previous comment that having this typedef is the way
to
> ensure that the AudioContextLatencyCategoryOrDouble type is generated
properly.
That would be unfortunate, I think. In my original CL, I don't think I had to
to this. AudioContextLatencyCategoryOrDouble was defined in the C++ code,
eventually. I don't
remember what I had to do to make this happen. Or maybe I'm just wrong.
Andrew MacPherson
2016/12/14 09:07:20
The original CL doesn't compile but I took another
On 2016/12/13 15:53:11, Raymond Toy wrote:
> On 2016/12/09 12:34:14, Andrew MacPherson wrote:
> > On 2016/12/08 17:14:38, Raymond Toy wrote:
> > > Does this introduce LatencyHint into the global namespace? If so, that's
> > > probably not something we want.
> >
> > I believe it does. I've renamed it to AudioContextLatencyHint, does that
work?
> > hongchan@ mentioned in a previous comment that having this typedef is the
way
> to
> > ensure that the AudioContextLatencyCategoryOrDouble type is generated
> properly.
>
> That would be unfortunate, I think. In my original CL, I don't think I had to
> to this. AudioContextLatencyCategoryOrDouble was defined in the C++ code,
> eventually. I don't
> remember what I had to do to make this happen. Or maybe I'm just wrong.
The original CL doesn't compile but I took another look here and you're right
that the typedef is not needed. This was my mistake, the part I believe I was
missing was that the type's .cpp/.h files needed to be included in
Source/bindings/modules/v8/generated.gni (they are now but weren't when I was
first looking at this). I've removed the typedef now, thanks!
Issue 2501863003: Support for AudioContextOptions latencyHint.
(Closed)
Created 4 years, 1 month ago by Andrew MacPherson
Modified 3 years, 10 months ago
Reviewers: hongchan, o1ka, pfeldman, Raymond Toy, tkent
Base URL:
Comments: 175