Hi all,

As many of you may already know, several folks are working on the new audio
channel management in b2g. Thanks to gecko devs(Andrea and Alastor), gaia
devs(Evan an Alive) and ux(Jenny and Omega), we are making good progress
and would like to update some status for you.

We used to put these audio management logic in gecko, but because gecko has
limited information about the window management, the current audio
management introduced many audio competing issues which we couldn't fix in
gaia, that's why we need a new set to solve them completely. Before we
started the new audio channel api implementation, we had many discussions
and came out a sound spec in [1], base on this spec and the new audio
channel api in [2], gaia system app will introduce a new module[3] as a
service to handle all the audio channel events, it can allow/deny the app
channels according to the channel's priorities and the window management,
so theoretically this new module is capable of managing all the
cases(including those we couldn't fix) and satisfy the ux needs.

Both gecko[2] and gaia[3] implementations are in progress, we planned to
enable it in v3 and hope all the audio channel issues can be fixed, and all
the hacks can be removed. If you find/know any hacks about the audio
channel, PLEASE, file them and set dependency to [4], we will be very
appreciated. Also, if it's not urgent, let's NOT to write new hacks in gaia
for audio channel and I am able to provide some suggestions if you really
need a fix.

[1] Spec: https://bugzilla.mozilla.org/show_bug.cgi?id=961967
[2] Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1113086
[3] Gaia: https://bugzilla.mozilla.org/show_bug.cgi?id=1100822
[4] Meta: https://bugzilla.mozilla.org/show_bug.cgi?id=1139838

Thanks,
- Dominic
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to