WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
147080
Media Session: add infrastructure for testing ducking
https://bugs.webkit.org/show_bug.cgi?id=147080
Summary
Media Session: add infrastructure for testing ducking
Matt Rajca
Reported
2015-07-18 21:52:49 PDT
We need a way of getting a media element's underlying media player's volume (which will be lowered when audio is ducked).
Attachments
Patch
(3.19 KB, patch)
2015-07-18 21:57 PDT
,
Matt Rajca
no flags
Details
Formatted Diff
Diff
Patch
(3.88 KB, patch)
2015-07-19 09:35 PDT
,
Matt Rajca
no flags
Details
Formatted Diff
Diff
Patch
(4.26 KB, patch)
2015-07-23 14:46 PDT
,
Matt Rajca
jer.noble
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-07-18 21:53:17 PDT
<
rdar://problem/21890395
>
Matt Rajca
Comment 2
2015-07-18 21:57:31 PDT
Created
attachment 257052
[details]
Patch
Matt Rajca
Comment 3
2015-07-19 09:35:17 PDT
Created
attachment 257058
[details]
Patch
Matt Rajca
Comment 4
2015-07-23 14:46:33 PDT
Created
attachment 257387
[details]
Patch
Jer Noble
Comment 5
2015-07-23 14:58:13 PDT
Comment on
attachment 257387
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=257387&action=review
> Source/WebCore/html/HTMLMediaElement.cpp:6486 > + if (m_player) > + return m_player->volume(); > + return 0;
This could be more concisely stated as: return m_player ? m_player->volume() : 0;
Matt Rajca
Comment 6
2015-07-23 15:03:35 PDT
(In reply to
comment #5
)
> Comment on
attachment 257387
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=257387&action=review
> > > Source/WebCore/html/HTMLMediaElement.cpp:6486 > > + if (m_player) > > + return m_player->volume(); > > + return 0; > > This could be more concisely stated as: > > return m_player ? m_player->volume() : 0;
Fixed.
Matt Rajca
Comment 7
2015-07-23 15:04:01 PDT
Committed
r187256
: <
http://trac.webkit.org/changeset/187256
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug