summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Fix permission hole for RECORD_AUDIO created when we moved the MediaRecorderDave Sparks2009-05-201-0/+4
| | | | | | | | implementation to the mediaserver process. The permission check was previously enforced only at the AudioRecord binder interface for clients not in the same process. This change adds an additional check when the client tries to set the audio source. Bug 1868334
* Don't allow negative numbers in ToneGenerator toneType parameterDave Sparks2009-05-071-1/+1
| | | | Bug 1836596
* Fixed issue 1709450: Requirements for CDMA Tone GeneratorEric Laurent2009-05-061-85/+342
| | | | | | | | | | Added new tone types for CDMA IS-95 specific tones. Automatic selection between IS-95, CEPT and JAPAN version base on operator country code for call supervisory tones. Also improved tone generator capabilities: - Each tone segment can now generate its own set of frequencies - A tone does not have to be a succession of alternating ON/OFF segments - The sequence repetition does not have to start from first segment
* Change 79 in git master branchJames Dong2009-04-301-14/+14
|
* Merge change 740 into donutAndroid (Google) Code Review2009-04-291-1/+1
|\ | | | | | | | | * 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
| * MIDI render thread was nice 0, should be nice -16.Dave Sparks2009-04-291-1/+1
| | | | | | | | | | | | | | 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
* | Vorbis render thread was nice 0, should be nice -16.Dave Sparks2009-04-291-1/+1
|/ | | | | | | 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
* Fix issue 1745312: Various cleanups in media frameworkEric Laurent2009-04-214-14/+14
| | | | | | | | | | | | | | | | | | | | | | 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
* AI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: ↵Eric Laurent2009-04-011-16/+17
| | | | | | | | | | | 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
* AI 143267: am: CL 143127 Media recorder service requires ↵Dave Sparks2009-03-271-0/+16
| | | | | | | | | android.permission.CAMERA to record video Original author: davidsparks Merged from: //branches/cupcake/... Automated import of CL 143267
* Automated import from //branches/donutburger/...@142065,142065Eric Laurent2009-03-241-1/+8
|
* Automated import from //branches/donutburger/...@141711,141711Andreas Huber2009-03-241-3/+8
|
* Automated import from //branches/donutburger/...@141593,141593Dave Sparks2009-03-241-0/+1
|
* Automated import from //branches/donutburger/...@141200,141200Jean-Michel Trivi2009-03-241-2/+7
|
* Automated import from //branches/donutburger/...@140867,140867Jean-Michel Trivi2009-03-241-1/+1
|
* Automated import from //branches/donutburger/...@140866,140866Jason Sams2009-03-241-5/+23
|
* Automated import from //branches/donutburger/...@140663,140663Jean-Michel Trivi2009-03-241-2/+13
|
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-183-6/+15
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-134-0/+46
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-112-1/+17
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-4/+8
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-052-19/+26
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0333-0/+10339
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0333-10093/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-037-250/+7
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-027-7/+250
|
* auto import from //branches/cupcake/...@132569The Android Open Source Project2009-02-202-8/+13
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-192-4/+9
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-1315-96/+198
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-1013-179/+301
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-202-50/+78
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-096-145/+578
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1722-560/+3138
|
* Initial ContributionThe Android Open Source Project2008-10-2124-0/+6820