Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Add audio indicators and mute tab functionality #70

Merged
merged 2 commits into from
Dec 20, 2015

Conversation

bbondy
Copy link
Member

@bbondy bbondy commented Dec 20, 2015

This adds audio indicators when sound is playing as well as the ability
to click on them to mute and unmute audio.

You won't actually see any audio indicators until I do another prebuilt
build though. I'm going to try to upstream this patch on electron which
adds support.

brave/muon@dbb0a3b

Auditors: @diracdeltas

/**
* Dispatches a message to indicate that audio is playing
*
* @param true if the frame is playing audio
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

although it's clear that this is referring to audioPlaybackActive, I think we should generally put at least name and type in jsdoc tags. i.e., @param {boolean} audioPlaybackActive - true if ....

@diracdeltas
Copy link
Member

Cool, lgtm otherwise!

This adds audio indicators when sound is playing as well as the ability
to click on them to mute and unmute audio.

You won't actually see any audio indicators until I do another prebuilt
build though.  I'm going to try to upstream this patch on electron which
adds support.

brave/muon@dbb0a3b

Auditors: @diracdeltas
@bbondy bbondy force-pushed the audio-indicator-mute-tab branch from e610ea8 to 54a0d75 Compare December 20, 2015 20:58
bbondy added a commit that referenced this pull request Dec 20, 2015
Add audio indicators and mute tab functionality
@bbondy bbondy merged commit 2b36b9b into master Dec 20, 2015
@bbondy bbondy deleted the audio-indicator-mute-tab branch December 20, 2015 21:07
@bbondy
Copy link
Member Author

bbondy commented Dec 21, 2015

Electron patch was merged upstream here:
electron/electron#3877

Still need to spin a new brave electron prebuilt build though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants