Closed
Bug 984764
Opened 11 years ago
Closed 11 years ago
[camera] Beep Sounds When self-timer reaches 3~1
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Firefox OS Graveyard
Gaia::Camera
Tracking
(b2g-v1.4 verified, b2g-v2.0 verified)
VERIFIED
FIXED
1.4 S5 (11apr)
People
(Reporter: singhashish1887, Assigned: singhashish1887)
References
Details
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
wilsonpage
:
review+
tif
:
ui-review-
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140317030202
Steps to reproduce:
1. Goto Camera App
2. Set self timmer to 3/5/10 seconds in Settings
3. Take a picture and video
Actual results:
Beep sound is not played in 1~3 seconds
Expected results:
Beep sound should play in 1~3 seconds
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8392736 -
Flags: review?(wilsonpage)
Updated•11 years ago
|
Assignee: nobody → singhashish1887
Comment 2•11 years ago
|
||
Comment on attachment 8392736 [details] [review]
Pull Request(Camera-new-feature)
Landed on camera-new-features
Attachment #8392736 -
Flags: review?(wilsonpage) → review+
Comment 3•11 years ago
|
||
Landed on camera-new-features:
https://github.com/mozilla-b2g/gaia/commit/1dad30933834baabf396f2f8c46ed89001313fdb
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 4•11 years ago
|
||
Reopening this to track the self timer sound being decoupled from the recording start/stop sound that is tied into Gaia Settings.
We want the self-timer sound to be tied to main device volume level as discussed in bug 985578.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
Updated•11 years ago
|
Attachment #8392736 -
Flags: ui-review?(tshakespeare)
Comment 5•11 years ago
|
||
Comment on attachment 8392736 [details] [review]
Pull Request(Camera-new-feature)
As Wilson states, in comment 4, the self-timer countdown should not be tied to the video recording setting toggle in Settings->Sounds.
Flagging Dominic to comment on how to tie self-timer countdown to notification sounds and adding Omega to thread as discussion was occurring in Bug 985578.
Attachment #8392736 -
Flags: ui-review?(tshakespeare) → ui-review-
Comment 6•11 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from bug 985578 comment #24)
> Omega: So can you instruct on how I would ensure this particular sound is in
> the #2 category?
Hey Wilson, here is the wiki page of the audio channels, and you can find how to set a proper channel type to the beep sounds: https://wiki.mozilla.org/WebAPI/AudioChannels
And according the wiki, I think the beep sound should belongs to "public notification" since it's camera sounds, and you can write the code like:
1. Add the audio channel permission to the manifest.webapp:
...
"audio-channel-publicnotification":{}
...
(You can add more than one channels if you have different channels in camera app)
2. Set the channel type to the target audio element(or web audio context):
...
audio.mozAudioChannelType = 'publicnotification';
...
With these code I think the beep sounds should follow the rules of audio channels, though there are some known issues we couldn't address before 1.5. And if you have time, please take a look on bug 958470, which I recently landed for the ringtones app to fix the related issue, the two patches are good examples to demonstrate who to set proper channel on both audio element or web audio context, let me know if you have problems on it, thanks.
Comment 7•11 years ago
|
||
Since this is getting a bit wonky, let's postpone the sound piece for the next release.
So for this release let's completely remove the sound during the self-timer countdown. Seem good?
Comment 9•11 years ago
|
||
Yes we decided to simplify it for 1.4 release by removing the sound as Tif mentioned (The sound pieces will come later on master which will be 1.5 release)
Flags: needinfo?(jjoons79)
Updated•11 years ago
|
Flags: needinfo?(hkoka)
Comment 10•11 years ago
|
||
Ashish will upload the patch to remove the sound.
Flags: needinfo?(jjoons79)
Comment 11•11 years ago
|
||
the patch that is already attached to this bug has landed on master and been uplifted to v1.4. This bug needs to be closed now.
I have filed a followup bug in 991808 and have assigned it to Ashish.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 12•11 years ago
|
||
Bulk edit for camera bugs.
If earlier comments do not show how this bug landed to master, it probably landed as part of https://github.com/mozilla-b2g/gaia/pull/17599 which merged the camera-new-features branch into master.
This bug was uplifted from master to v1.4 as part of https://github.com/mozilla-b2g/gaia/commit/a8190d08e61316a86bba572ba8d894d081a20530
Comment 13•11 years ago
|
||
AFAIK this is not resolved.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 14•11 years ago
|
||
I think what David is saying is that since the patch has already been moved to master, we have to have a new bug for it which is 991808?
Flags: needinfo?(dflanagan)
Comment 15•11 years ago
|
||
Agreed. Closing.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Flags: needinfo?(dflanagan)
Comment 16•11 years ago
|
||
Closing this per bug 991808, the sound is removed for this release.
1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140411000202
Gaia: 6c50349f41d40ba175ea0fc0c2c2cbd739ba7170
Gecko: 28b419f0e857
Version: 30.0a2
Firmware Version: v1.2-device.cfg
1.5 Environmental Variables:
Device: Buri 1.5 Master
BuildID: 20140411040203
Gaia: 1368d716072adf308e1b435ac828f97545a045f1
Gecko: d8c1b10c3a3d
Version: 31.0a1
Firmware Version: v1.2-device.cfg
You need to log in
before you can comment on or make changes to this bug.
Description
•