Commit Graph

59 Commits

Author SHA1 Message Date
Marco Chen
d56fa20eab Bug 924787 - [AudioManager] The checking condition should be "leave here if settings name is not for bt_sco". r=mwu 2013-10-14 18:27:13 +08:00
Marco Chen
3b00fd5221 Bug 923173 - Use NS_WARNING for unexpected name to avoid crashing. r=ehsan 2013-10-14 18:45:35 +08:00
Ehsan Akhgari
fe43f6784d Bug 920292 - Part 1: Stop passing string literals as the first argument to MOZ_ASSERT; r=Waldo 2013-10-01 08:25:08 -04:00
Nathan Froyd
98723f4c48 Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Marco Chen
6499ebb283 Bug 823273 - Part 4: Music volume should be faded when notification sound is on going - FM Radio, Camera, Phone clients. r=rlin 2013-09-02 17:45:44 +08:00
Steven Lee
07913c382c Bug 904025 - part2: stop MediaStream when there is incoming call. r=jesup 2013-09-13 16:51:48 +08:00
Boris Zbarsky
d201003d5f Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Marco Chen
127d60cba4 Bug 904531 - AudioManager should actively ask settings DB for volume initialization. r=mwu 2013-08-23 11:29:11 +08:00
Michael Wu
16d1c2e0de Bug 899769 - Fix build of AudioManager.cpp when bluetooth is disabled, r=rlin 2013-07-30 22:44:48 -04:00
Randy Lin
53f22e7604 Bug 842934 - [Bluetooth]A2DP sound disappear after SCO disconnected (call ended) and switching patch to A2DP. r=mchen 2013-07-30 14:58:58 +08:00
Jon Coppeard
fd4d274d46 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Marco Chen
7e9f906ea7 Bug 876334 - Remove GB support from AudioManager. r=mwu 2013-07-18 13:23:10 +08:00
Marco Chen
182c8eb9e0 Bug 876334 - Gecko should use AudioChannelType to control volume not stream types. r=mwu, r=baku 2013-07-18 13:22:36 +08:00
Marco Chen
886ec8373b Bug 876334 - Remove temporary solution from BT for forcing output. r=mwu 2013-07-18 10:21:24 +08:00
Marco Chen
1752b92a2d Bug 876334 - Remove master/FM volume control from nsIAudioManager. r=mwu 2013-07-18 10:21:24 +08:00
Randy Lin
8c0ad3514e Bug 860584 - [Buri][ACC] Speaker sound when plug out earphone. r=mchen 2013-07-17 13:08:11 +08:00
Michael Wu
a060bfa8cd Bug 885602 - Fix build of AudioManager.cpp on gonk-JB, r=mchen 2013-06-21 01:37:21 -04:00
Gina Yeh
72ab1ebbaa Bug 882551 - Patch 5: Change return type of internal functions, r=qdot, r=mrbkap, r=echou 2013-06-20 09:20:16 +08:00
Gina Yeh
fe63c7c6f5 Bug 872907 - Patch 5: Handle A2DP status changed in AudioManager, r=echou, r=mwu 2013-06-08 23:26:28 +08:00
Makoto Kato
7fe9742144 Bug 871462 - Clean up string API usages on Gonk. r=dbaron 2013-06-03 17:41:27 +09:00
rlin@mozilla.com
a172f4e28b Bug 875227 - No call sound when the call established, r=mwu 2013-05-23 18:28:20 +08:00
Marco Chen
1f5a09f0ba Bug 870682 - [gonk-jb-4.2] Add basic support for audio control API. r=mwu 2013-05-20 15:34:42 +08:00
Randy Lin
440c264cce Bug 868932 - All channel volume is not updated. r=mwu 2013-05-16 12:00:02 +08:00
Shawn Huang
ef018f54a0 Bug 872428 - Fix missing setForceUse to BT SCO for audio path, r=mwu 2013-05-16 14:31:21 +08:00
rlin@mozilla.com
f1ef6a8b16 Bug 868960 - [FMRadio] FM Radio volume is not updated by headset ejecting. r=mwu 2013-05-07 15:31:13 +08:00
ext:(%20rlin%40mozilla.com)
8d64870c60 Bug 862306 - Route audio stream to BT_SCO in AudioManager. r=mwu 2013-04-18 16:47:09 +02:00
Matthew Gregan
56f37c387c Bug 852401 - Remove sydneyaudio. r=doublec
--HG--
rename : media/libsydneyaudio/src/gonk/AudioSystem.h => dom/system/gonk/android_audio/AudioSystem.h
rename : media/libsydneyaudio/src/gonk/AudioTrack.h => dom/system/gonk/android_audio/AudioTrack.h
rename : media/libsydneyaudio/src/gonk/EffectApi.h => dom/system/gonk/android_audio/EffectApi.h
rename : media/libsydneyaudio/src/gonk/IAudioFlinger.h => dom/system/gonk/android_audio/IAudioFlinger.h
rename : media/libsydneyaudio/src/gonk/IAudioFlingerClient.h => dom/system/gonk/android_audio/IAudioFlingerClient.h
rename : media/libsydneyaudio/src/gonk/IAudioRecord.h => dom/system/gonk/android_audio/IAudioRecord.h
rename : media/libsydneyaudio/src/gonk/IAudioTrack.h => dom/system/gonk/android_audio/IAudioTrack.h
rename : media/libsydneyaudio/src/gonk/IEffect.h => dom/system/gonk/android_audio/IEffect.h
rename : media/libsydneyaudio/src/gonk/IEffectClient.h => dom/system/gonk/android_audio/IEffectClient.h
2013-03-19 17:12:36 +13:00
Marco Chen
2622ce58e9 Bug 834200 - [Audio] Hook AudioManager::SetPhoneState for getting ring & in_call then register into AudioChannelService. r=baku, a=tef+ 2013-02-04 11:23:06 +08:00
rlin@mozilla.com
cf387657f5 Bug 827840 - [camera] shutter sound is almost inaudible, r=sicking, a=bb+
--HG--
extra : rebase_source : d58d00d2bc9d4865c63f8877fecd7c2da5b75e87
2013-01-09 11:09:37 +08:00
Randy Lin
5f36549ce7 Bug 819965 - Unable to silence or control FM radio volume. r=sicking 2012-12-17 20:46:56 +08:00
Marco Chen
1834026fda Bug 819858 - Add AudioChannelAgent to AudioManager for telephony joining AudioChannelService. r=baku, a=blocking-basecamp 2012-12-13 09:45:10 +08:00
Randy Lin
a452340473 Bug 815452 - Don't unmute FM audio if the user increases the volume when FM audio is muted for channel policy reasons. r=sicking 2012-12-11 18:26:01 +08:00
rlin@mozilla.com
628f1cfb77 Bug 815445 - Hook up telephony audio to audio channels backend r=baku 2012-12-06 18:11:06 +08:00
Randy Lin
821762d017 Bug 814326 - Volume steps on the UI is 10 steps which cannot be mapped correctly to the underlying streams. r=sicking, r=fabrice 2012-12-04 18:21:43 +08:00
Randy Lin
c116df088f Bug 812434 - Support FM volume control for implement AudioChannel API. r=mwu 2012-11-29 10:14:11 +08:00
vliu
d78c06640f Bug 813823 - AudioManager reports unknown status when inserting headphone or headset. r=mwu 2012-11-27 11:13:19 +08:00
Randy Lin
b9546f166f Bug 811204 - [Dialer] Voice call can't switch between speaker and bt sco audio path. r=mwu, a=blocking-basecamp 2012-11-15 11:00:34 +08:00
Marco Chen
02daf36312 Bug 791642 - nsIAudioManager: support voice volume. r=philikon
1. Provide api for adjusting volume based on each stream.
  2. Modify settings.js for listening the changing for stream volume.
2012-11-02 17:36:46 +08:00
Gina Yeh
78c37a4bca Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot 2012-10-03 10:55:28 +08:00
Gina Yeh
323709cc8c Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Alexandre Lissy
c185f04347 Bug 794424 - Send the headphone status at boot time. r=philipp 2012-09-27 23:06:01 -04:00
Marco Chen
ba8f9c1ff2 Bug 791329 - Let AudioManager set correct device (headset or headphone) into setDeviceConnectionState according to event from GonkSwitch.cpp. r=mwu 2012-09-25 19:03:50 +08:00
Steven Lee
466ebdf609 Bug 749053 - FM radio support: AudioManager implementation. r=jlebar,mwu 2012-09-19 13:51:35 -04:00
Dave Hylands
c1330490e1 Bug 782289 - Bah - Added in the second part of the patch. r=philikon 2012-09-06 13:51:15 -07:00
Dave Hylands
26c23c67bb Bug 782289 - Forward headphone status changed notification from gonk to chrome. r=philikon
The wrong patch was applied previously. This changeset rolls back the previous change and
applies the correct one.
2012-09-06 13:47:58 -07:00
Alexandre Lissy
c4255647c1 Bug 782289 - Headphones status notification. Part 1: Send observer notification. r=philikon
We send this notification each time status change. For now, only on/off, maybe
it might be a good thing to add microphone status too. We will observe
this notification in b2g's shell.js to generate a mozChromeEvent.
2012-08-13 16:57:51 +02:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Steven Lee
23dca1a089 Bug 779149 - [Dialer] Audio does not go through headset. r=mwu 2012-08-15 21:00:50 -04:00