Hi Gabrieie,

On Thu, Mar 5, 2015 at 9:04 PM, Gabriele Svelto <[email protected]> wrote:

> I've chopped out all the audio channel hacks in the dialer / callscreen
> / emergency-call apps recently. All the bits have already landed though,
> do I still need to make the bugs blocking bug 1139838 purely for
> dependency purposes? (i.e. if we want to uplift this stuff to something
> older than v3)
>
>  Gabriele
>
>
It will be nice to record those fixed bugs that removed the audio channels
hacks
because we can know how the hacks are removed, or probably they are wrong
fixes
and we should use a proper one.

The new audio channel management does not change the current api usage in
gaia,
it's a platform work which we move the implementation from gecko to gaia,
so for all
the gaia apps:

1. Adding the audio channel permission in manifest.webapp.
2. Setting the |mozAudioChannelType| for the media element.
3. (Optional) listen to media element's |mozinterruptbegin| and
|mozinterruptend| if app
needs some ui interactions.

are still the only necessaries, that means, anything besides these
two/three operations
are all hacks, I would expect a correct fix does not contain new logic and
simply clean
the unnecessary code.

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

Reply via email to