Closed
Bug 1194249
Opened 10 years ago
Closed 9 years ago
Audio route is not changed when HDMI Display is connected on gonk
Categories
(Firefox OS Graveyard :: AudioChannel, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 3 obsolete files)
7.75 KB,
patch
|
Details | Diff | Splinter Review |
Since Bug 1186000, b2g supports HDMI display rendering.
On android, when HDMI display is connected to android device, the device's audio route is changed to the HDMI display. Same thing should be done also on gonk.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
FYI: On android, HDMI display related audio route is controlled by WiredAccessoryManager.
https://github.com/sotaroikeda/android-diagrams/blob/master/system/WiredAccessoryManager_5.1.pdf
Assignee | ||
Comment 2•10 years ago
|
||
The patch does not handle mediaserver died event yet.
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #2)
> Created attachment 8647699 [details] [diff] [review]
> patch - Add HDMI audio route handling
>
> The patch does not handle mediaserver died event yet.
When the device is connected to HDMI Display, the phone's sound was stopped, but the Display did not have a sound.
Assignee | ||
Comment 4•10 years ago
|
||
Audio route was correctly changed to HDMI audio. Just audio volume was too small for HDMI audio out.
Comment 5•10 years ago
|
||
Hi, Sotaro,
You can try to set the volume of AUDIO_DEVICE_OUT_AUX_DIGITAL in AudioManager::SetStreamVolumeIndex().
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1)
> FYI: On android, HDMI display related audio route is controlled by
> WiredAccessoryManager.
>
> https://github.com/sotaroikeda/android-diagrams/blob/master/system/WiredAccessoryManager_5.1.pdf
I created additional diagrams related audio audio volume control
https://github.com/sotaroikeda/android-diagrams/blob/master/media/VolumeUI_5.1.pdf
https://github.com/sotaroikeda/android-diagrams/blob/master/media/MediaRouter_5.1.pdf
https://github.com/sotaroikeda/android-diagrams/blob/master/media/MediaSession_5.1.pdf
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Alastor Wu [:alwu] from comment #5)
> Hi, Sotaro,
> You can try to set the volume of AUDIO_DEVICE_OUT_AUX_DIGITAL in
> AudioManager::SetStreamVolumeIndex().
Thanks for the info. It should work, though AudioManager's code clean up seems necessary to implement correctly.
Assignee | ||
Comment 8•10 years ago
|
||
Temporary implementation, just to confirm the audio problem fix.
Attachment #8647699 -
Attachment is obsolete: true
Assignee | ||
Comment 10•10 years ago
|
||
On android M, when the device is connected to TV, the playback audio volume can be changed only between min/max. It is because, audio volume should be changed only by TV side.
attachment 8681066 [details] [diff] [review] does not have such control yet.
Assignee | ||
Comment 12•9 years ago
|
||
This is specific to gonk.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•