James Dong
c02cac481c
Change 79 in git master branch
2009-04-30 23:42:56 -07:00
Android (Google) Code Review
7fe3b064d3
Merge change 740 into donut
...
* changes:
MIDI render thread was nice 0, should be nice -16. Seems like a recent change sets the thread priority to 0. Previously it inherited priority from the parent thread. This change sets the MIDI render thread priority to the default for audio threads. Reference bug 1800905
2009-04-29 15:27:15 -07:00
Dave Sparks
c082769b67
MIDI render thread was nice 0, should be nice -16.
...
Seems like a recent change sets the thread priority to 0. Previously it
inherited priority from the parent thread. This change sets the MIDI
render thread priority to the default for audio threads.
Reference bug 1800905
2009-04-29 12:59:33 -07:00
Dave Sparks
0e051b189f
Vorbis render thread was nice 0, should be nice -16.
...
Seems like a recent change sets the thread priority to 0. Previously it
inherited priority from the parent thread. This change sets the Vorbis
render thread priority to the default for audio threads.
Reference bug 1800905
2009-04-29 12:42:28 -07:00
Yu Shan Emily Lau
2071043512
Modify and turn on the test case for video recording in portrait mode.
2009-04-23 21:46:55 -07:00
Marco Nelissen
9f0b1a4850
Do case-insensitive matching when determining whether something is music, an alarm sound, notification sound, etc.
2009-04-22 10:34:12 -07:00
Eric Laurent
ef02827d4c
Fix issue 1745312: Various cleanups in media framework
...
AudioTrack, AudioRecord:
- remove useless mAudioFlinger member of AudioTrack and AudioRecord.
- signal cblk.cv condition in stop() method to speed up stop completion.
- extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily
AudioFlinger:
- remove some warnings in AudioFlinger.cpp.
- remove function AudioFlinger::MixerThread::removetrack_l() as its content is never executed.
- remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute().
- Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99.
AudioSystem.java:
- correct typo in comment
IAudioflinger, IAudioFlingerClient:
- make AudioFlinger binder interfaces used for callbacks ONEWAY.
AudioHardwareInterface:
- correct routeStrings[] table in AudioHardwareInteface.cpp
2009-04-21 07:56:33 -07:00
Jean-Michel Trivi
6fb5a1d0ee
AI 147035: am: CL 147032 Finalize JetPlayer javadoc.
...
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 147035
2009-04-20 16:30:18 -07:00
Jean-Michel Trivi
ea63a41d26
AI 146938: am: CL 146937 Finalize AudioRecord javadoc.
...
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 146938
2009-04-20 10:45:23 -07:00
Dave Sparks
6cb9900e6f
AI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add additional text.
...
Original author: davidsparks
Merged from: //branches/cupcake/...
Automated import of CL 146755
2009-04-17 11:48:25 -07:00
Jean-Michel Trivi
ff14c25339
AI 146752: am: CL 146751 Finalize AudioTrack javadoc.
...
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 146752
2009-04-17 11:45:30 -07:00
Dave Sparks
2170312ab0
AI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4 container format
...
Original author: davidsparks
Merged from: //branches/cupcake/...
Automated import of CL 146668
2009-04-16 19:54:16 -07:00
Dave Sparks
cef302d095
AI 146655: am: CL 146654 Add java docs for SoundPool
...
Original author: davidsparks
Merged from: //branches/cupcake/...
Automated import of CL 146655
2009-04-16 17:50:27 -07:00
Andy Stadler
f8a7ceaef2
AI 145778: Manual merge changes 145382-145384 from cupcake.
...
Automated import of CL 145778
2009-04-10 16:24:47 -07:00
Jean-Michel Trivi
655434763f
AI 144327: am: CL 144326 Start the thread that initializes the camera for the test under lock to make sure the monitor is notified after it has started waiting.
...
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 144327
2009-04-02 16:14:14 -07:00
Xia Wang
1b01f87b39
AI 144314: am: CL 144313 Add two test cases for AudioTrack.java
...
getMinBufferSize() returns ERROR_BAD_VALUE if
sampleRateInHz < 4000 or > 48000.
Original author: xiaw
Merged from: //branches/cupcake/...
Automated import of CL 144314
2009-04-02 15:23:44 -07:00
Eric Laurent
d7f347bdc8
AI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
...
The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
Original author: elaurent
Merged from: //branches/cupcake/...
Automated import of CL 144054
2009-04-01 12:55:13 -07:00
Yu Shan Emily Lau
b9f15d7b3c
AI 143905: am: CL 143904 Fix the failure in the media recorder large test by adding the Camera permission.
...
Original author: yslau
Merged from: //branches/cupcake/...
Automated import of CL 143905
2009-03-31 18:15:52 -07:00
Dave Sparks
b8c055e7cb
AI 143267: am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
...
Original author: davidsparks
Merged from: //branches/cupcake/...
Automated import of CL 143267
2009-03-27 20:28:22 -07:00
Mike Lockwood
3870a95435
AI 143209: am: CL 143001 Remove sdutils from user build to save 12K on /system partition.
...
BUG=1739507
Original author: lockwood
Merged from: //branches/cupcake/...
Automated import of CL 143209
2009-03-27 18:11:25 -07:00
Jean-Michel Trivi
3d78f9ab08
Automated import from //branches/donutburger/...@142376,142376
2009-03-24 22:36:44 -07:00
Yu Shan Emily Lau
fd92c57439
Automated import from //branches/donutburger/...@142149,142149
2009-03-24 21:31:10 -07:00
Eric Laurent
272beb6383
Automated import from //branches/donutburger/...@142065,142065
2009-03-24 21:23:54 -07:00
Andreas Huber
e25b51baf4
Automated import from //branches/donutburger/...@141711,141711
2009-03-24 20:47:19 -07:00
Dave Sparks
6ee2e78e1c
Automated import from //branches/donutburger/...@141593,141593
2009-03-24 20:35:44 -07:00
Niko Catania
4a0029f95d
Automated import from //branches/donutburger/...@141213,141213
2009-03-24 19:51:09 -07:00
Jean-Michel Trivi
78c1314731
Automated import from //branches/donutburger/...@141200,141200
2009-03-24 19:48:58 -07:00
Jean-Michel Trivi
d3ca04da8a
Automated import from //branches/donutburger/...@140867,140867
2009-03-24 18:46:07 -07:00
Jason Sams
4610f7d1f9
Automated import from //branches/donutburger/...@140866,140866
2009-03-24 18:45:20 -07:00
Dianne Hackborn
08905cc336
Automated import from //branches/donutburger/...@140818,140818
2009-03-24 18:36:53 -07:00
Niko Catania
d01721d5ca
Automated import from //branches/donutburger/...@140811,140811
2009-03-24 18:35:10 -07:00
Niko Catania
1a9f7399bb
Automated import from //branches/donutburger/...@140800,140800
2009-03-24 18:32:47 -07:00
Jean-Michel Trivi
4a5c1a7e84
Automated import from //branches/donutburger/...@140663,140663
2009-03-24 18:11:07 -07:00
Jean-Michel Trivi
470f71f4a4
Automated import from //branches/donutburger/...@140566,140566
2009-03-24 17:55:14 -07:00
Jason Parekh
b109615ebe
Automated import from //branches/donutburger/...@140507,140507
2009-03-24 17:48:25 -07:00
The Android Open Source Project
105925376f
auto import from //branches/cupcake_rel/...@140373
2009-03-18 17:39:46 -07:00
The Android Open Source Project
ba87e3e6c9
auto import from //branches/cupcake_rel/...@138607
2009-03-13 13:04:22 -07:00
The Android Open Source Project
c39a6e0c51
auto import from //branches/cupcake/...@137873
2009-03-11 12:11:56 -07:00
The Android Open Source Project
b2a3dd88a5
auto import from //branches/cupcake/...@137197
2009-03-09 11:52:12 -07:00
The Android Open Source Project
b22d55b9f8
auto import from //depot/cupcake/@136620
2009-03-05 15:45:10 -08:00
The Android Open Source Project
4df2423a94
auto import from //depot/cupcake/@136594
2009-03-05 14:34:35 -08:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
076357b856
auto import from //depot/cupcake/@132589
2009-03-03 14:04:24 -08:00
The Android Open Source Project
3dec7d563a
auto import from //depot/cupcake/@137055
2009-03-02 22:54:33 -08:00
The Android Open Source Project
15ab3eae2e
auto import from //branches/cupcake/...@132569
2009-02-20 07:38:31 -08:00
The Android Open Source Project
3001a03543
auto import from //branches/cupcake/...@132276
2009-02-19 10:57:31 -08:00
The Android Open Source Project
da996f390e
auto import from //branches/cupcake/...@131421
2009-02-13 12:57:50 -08:00
The Android Open Source Project
d24b8183b9
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
22f7dfd234
auto import from //branches/cupcake/...@127101
2009-01-20 14:03:58 -08:00