Closed Bug 1222902 Opened 9 years ago Closed 9 years ago

Create log system for the AudioChannel

Categories

(Firefox OS Graveyard :: AudioChannel, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
2.6 S1 - 11/20
Tracking Status
firefox45 --- fixed

People

(Reporter: alwu, Assigned: alwu)

Details

Attachments

(1 file)

Create log system for AudioChannel, so that we can debug problem more easily.
Bug 1222902 - Create log system for the AudioChannel
Attachment #8684796 - Flags: review?(amarchesini)
Hi, Baku, As the AudioChannel doesn't have the log system, other people can't provide me useful logs to figure out the problem. Therefore, I will want to add some log for it.
Comment on attachment 8684796 [details] MozReview Request: Bug 1222902 - Create log system for the AudioChannel. r=baku. https://reviewboard.mozilla.org/r/24641/#review22191 ::: dom/audiochannel/AudioChannelAgent.cpp:137 (Diff revision 1) > + this, mAudioChannelType, mWindow.get(), hasCallback)); put this inline: (!!mCallback || !!mWeakCallback) ::: dom/audiochannel/AudioChannelAgent.cpp:169 (Diff revision 1) > + this, *aMuted)); print also the volume. ::: dom/audiochannel/AudioChannelAgent.cpp:217 (Diff revision 1) > + ("AudioChannelAgent, WindowVolumeChanged, this = %p, mute = %d\n", volume here too. ::: dom/audiochannel/AudioChannelService.cpp:791 (Diff revision 1) > + MOZ_LOG(GetAudioChannelLog(), LogLevel::Debug, Add the same for SetAudioChannelVolume.
Attachment #8684796 - Flags: review?(amarchesini) → review+
Comment on attachment 8684796 [details] MozReview Request: Bug 1222902 - Create log system for the AudioChannel. r=baku. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/24641/diff/1-2/
Attachment #8684796 - Attachment description: MozReview Request: Bug 1222902 - Create log system for the AudioChannel → MozReview Request: Bug 1222902 - Create log system for the AudioChannel. r=baku.
Attachment #8684796 - Flags: review+
Keywords: checkin-needed
Comment on attachment 8684796 [details] MozReview Request: Bug 1222902 - Create log system for the AudioChannel. r=baku. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/24641/diff/2-3/
Rebase the patch.
Flags: needinfo?(alwu)
Comment on attachment 8684796 [details] MozReview Request: Bug 1222902 - Create log system for the AudioChannel. r=baku. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/24641/diff/3-4/
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.6 S1 - 11/20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: