Commit Graph
135 Commits
Author SHA1 Message Date
Sotaro Ikeda 61ee42fdc0 Bug 1218629 - Save audio volume for each device to setting db r=alwu 2015-12-23 23:31:34 -08:00
Sotaro Ikeda 48acf09e7f Bug 1229234 - Enable audio_is_output_device() on ICS r=alwu 2015-12-13 18:13:02 -08:00
Nathan Froyd 54dfa729a9 Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Sotaro Ikeda 91cf36499c Bug 1226483 - Add ASSERT check to AudioManager::SelectDeviceFromDevices() r=alwu 2015-11-20 03:19:28 -08:00
Andrea Marchesini 0b4b3db183 Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Sotaro Ikeda 5a7d654e8d Bug 1222564 - Save audio volume to database r=alwu 2015-11-10 04:28:03 -08:00
Sotaro Ikeda c461da3265 Bug 1196724 - Refactoring of AudioManager r=alwu 2015-10-28 07:11:05 -07:00
Nathan Froyd 4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Alastor Wu a8ec82989a Bug 1196358 - update volume setting to database when the volume changing. r=sotaro. 2015-09-30 16:14:59 +08:00
Wes Kocher 1828f92d6f Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Hayden Huang 95352ad87d Bug 1175447 - mono audio support. r=padenot, r=sotaro
This patch is to enable mono audio option for those who has full hearing loss in one ear.
With this feature, they can get the complete audio with using one ear.
2015-08-06 14:30:22 +08:00
Carsten "Tomcat" Book 942dda300e Backed out 1 changesets (bug 1196358) for causing test failures in test_settings_service.xul
Backed out changeset a2e4fa843ae5 (bug 1196358)
2015-09-23 12:09:29 +02:00
Alastor Wu a7cab19d99 Bug 1196358 - update volume setting to database when the volume changing. r=sotaro 2015-09-22 11:24:31 +08:00
Sotaro Ikeda 4815fa55f5 Bug 1206212 - Remove AUDIO_STREAM_FM after KK r=alwu 2015-09-21 17:43:41 -07:00
Sotaro Ikeda 7b74d14537 Bug 1208155 - Make hal functions explicit in AudioManager r=alwu 2015-09-25 04:56:28 -07:00
Sotaro Ikeda d818122b1e Bug 1194442 - Code clean up of AudioManager r=alwu 2015-08-21 06:28:55 -07:00
Alastor Wu de9534be4a Bug 1179181 - Store separate volume setting into setting database. r=baku 2015-08-17 19:38:39 +08:00
Will Wang e17b385e76 Bug 825149 - Support HFP NREC feature. r=shuang 2015-08-10 04:51:00 -04:00
Alastor Wu 4cbfa9359f Bug 1187195 - Remove all agents with null window. r=baku 2015-07-24 12:29:26 +08:00
Alastor Wu 1c238a6910 Bug 1142933 - New audio channel type for system usages. r=baku 2015-03-16 12:01:50 +08:00
Chris Peterson 059320913a Bug 1185422 - Fix -Wtype-limits warnings-as-errors in gonk/AudioManager.cpp. r=alwu 2015-07-19 21:43:40 -07:00
Alastor Wu 5239fa3a79 Bug 1170117 - Separate volume control. r=baku 2015-07-17 10:07:37 +08:00
Andrea Marchesini c43ef9a8a0 Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini db97457570 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book 4d84eb2be5 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book cf487e58dc Backed out changeset 41195fb9f293 (bug 1177259) 2015-07-11 14:13:27 +02:00
Andrea Marchesini 887d50d82f Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini 567d09c01f Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan a5cfa673a9 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini 0294bacd27 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Juan Gomez 89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen 7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Ehsan Akhgari ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Thomas Zimmermann 09af992e0f Bug 1137151: Marked destructors of ref-counted audio-manager classes as protected, r=dhylands 2015-03-10 13:44:02 +01:00
Jan Jongboom 02c40113f4 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Dave Hylands f9ab93b90e Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd 2015-01-08 13:52:19 -08:00
Dave Huseby f8c0a3485b Bug 1107681 - fix up the dom uses of WrapptedJSToDictionary to use the cx-less interface. r=bholley 2014-12-29 11:56:00 +01:00
Botond Ballo 680bbec836 Bug 1073081 - Fix a -Waddress warning. r=slee 2014-11-24 19:48:49 -05:00
Daniel Bonnevier 0e251c6a2b Bug 1090919 - Fix audio problem when mediaserver is restarted. r=mwu
When mediaserver is restarted AudioPolicyService needs to be
recreated when mediasrever is fully started.
2014-11-14 06:12:00 +01:00
Randy Lin 0cfb691a07 Bug 1082677 - [Music] When unplugging headphones, the music will be muted from the speaker. r=mwu 2014-11-13 11:52:17 +08:00
Randy Lin 595cf066b3 Bug 1074177 - DTMF tone are not coming on Bluetooth headset. r=mwu. 2014-10-16 12:40:09 +08:00
Randy Lin d86cfc3892 Bug 1073494 - Audio is not routing to headset while playback is on BT. r=mwu 2014-10-08 10:49:59 +08:00
Wayne Chen f55cdda22f Bug 1072021: Fix bluetooth address is empty to set Audio HAL when A2DP is disconnected. r=echou 2014-10-02 17:22:44 +08:00
Mike Habicher 82109af909 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Ryan VanderMeulen 1ce4cc0915 Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously. 2014-09-16 16:54:25 -04:00
Mike Habicher 8c5339cc7a Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Randy Lin d9bf95150c Bug 1055920 - [B2G][AudioChannel] Avoid to create unnecessary AudioChannel instance on child process. r=baku 2014-08-29 14:10:16 +08:00
Bobby Holley b2b763cb29 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen df43fcf12d Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00