summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too ↵Eric Laurent2009-10-061-11/+23
| | | | | | | | | | high). This change is a complement to the main fix in kernel driver for the same issue (partner change #1250). It removes clicks sometimes heard after the end of the tones while audio flinger is sending 0s to the audio output stream. The problem was that the sleep time between two writes was more than the duration of one audio output stream buffer which could cause some underrun. Also fixed a recent regression in ToneGenerator that made that the end of previous tone was repeated at the beginning of current one under certain timing circumstances when the maximum tone duration was specified.
* Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), ↵gwang@google.com2009-10-062-2/+4
| | | | and Fix bad links in ToneGenerator documentation.
* Music visualizer support hack.Marco Nelissen2009-10-067-4/+238
| | | | This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
* Update from API review.Dianne Hackborn2009-09-301-1/+1
| | | | Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
* Merge change Id60fa26a into eclairAndroid (Google) Code Review2009-10-012-35/+175
|\ | | | | | | | | * changes: Fix issue 2152541 thumbnail images stretched.
| * Fix issue 2152541 thumbnail images stretched.Ray Chen2009-09-302-35/+175
| |
* | Fix Issue 2158631: AudioService: volume control sometimes not restored after ↵Eric Laurent2009-09-301-5/+8
|/ | | | | | | | media server process crash. The problem comes from the fact that the AudioSystem callback indicating that the media server is active again is ignored if it is received before the delayed message indicating media server death. This happens if another application or service running in the system server process makes a request to the AudioSystem in the interval between the death of the media server and the reception of the corresponding delayed message. The fix consists in resetting mMediaServerOk flags immediately when the death callback is received and not when the delayed message is received.
* Merge change I999f1aeb into eclairAndroid (Google) Code Review2009-09-301-1/+1
|\ | | | | | | | | * changes: Remove audio latency fudge factor 96 msec.
| * Remove audio latency fudge factor 96 msec.Jianhong Jiang2009-09-291-1/+1
| |
* | Merge change I55a6ac8c into eclairAndroid (Google) Code Review2009-09-302-4/+4
|\ \ | |/ |/| | | | | * changes: Fixed the long recorder time and reduce the number of loops.
| * Fixed the long recorder time and reduce the number of loops.Yu Shan Emily Lau2009-09-292-4/+4
| |
* | Merge change If5722b3f into eclairAndroid (Google) Code Review2009-09-291-1/+3
|\ \ | | | | | | | | | | | | * changes: Dont NPE if the thumbnail file cannot be opened.
| * | Dont NPE if the thumbnail file cannot be opened.Chih-Chung Chang2009-09-291-1/+3
| |/
* | Merge change I19f2928b into eclairAndroid (Google) Code Review2009-09-292-6/+23
|\ \ | |/ |/| | | | | * changes: Fix issue 2141503: Keyclick sound doesn't honor volume settings.
| * Fix issue 2141503: Keyclick sound doesn't honor volume settings.Eric Laurent2009-09-292-6/+23
| | | | | | | | Use music stream volume minus 3 dB for sound effects if volume is not explicitly requested by application.
* | Merge change Idd16976f into eclairAndroid (Google) Code Review2009-09-292-24/+27
|\ \ | | | | | | | | | | | | * changes: Fix some metadata retriever issues: 1. mRetriever was initialized twice: one in the constructor and the other in the setDataSource 2. cached the mode so that setMode can still be called before setDataSource. mRetriever won't be initialized until data source is set; thus we have to do this
| * | Fix some metadata retriever issues:James Dong2009-09-292-24/+27
| |/ | | | | | | | | | | 1. mRetriever was initialized twice: one in the constructor and the other in the setDataSource 2. cached the mode so that setMode can still be called before setDataSource. mRetriever won't be initialized until data source is set; thus we have to do this
* | Unify Java NIO to read/write MiniThumbFile.Ray Chen2009-09-291-37/+33
|/
* Merge change 27466 into eclairAndroid (Google) Code Review2009-09-281-3/+2
|\ | | | | | | | | * changes: Turn on thubmnail capture unit test for media metadata retriever
| * Turn on thubmnail capture unit test for media metadata retrieverJames Dong2009-09-281-3/+2
| |
* | Merge change 27449 into eclairAndroid (Google) Code Review2009-09-281-0/+7
|\ \ | |/ |/| | | | | * changes: Always consider m4a files as audio, even when they contain a video track.
| * Always consider m4a files as audio, even when they contain a video track.Marco Nelissen2009-09-281-0/+7
| |
* | Merge change 27318 into eclairAndroid (Google) Code Review2009-09-271-1/+2
|\ \ | |/ | | | | | | * changes: Check that playlist entries refer to a row in the audio table.
| * Check that playlist entries refer to a row in the audio table.Marco Nelissen2009-09-271-1/+2
| |
* | Remove fflush when storing thumbanil to sdcard.Ray Chen2009-09-271-1/+0
| |
* | Merge change 27271 into eclairAndroid (Google) Code Review2009-09-271-3/+8
|\ \ | |/ | | | | | | * changes: Only scan windows media files when those codecs are enabled.
| * Only scan windows media files when those codecs are enabled.Marco Nelissen2009-09-271-3/+8
| |
* | Merge change 27073 into eclairAndroid (Google) Code Review2009-09-252-36/+39
|\ \ | |/ |/| | | | | * changes: Removed the device type checking
| * Removed the device type checkingYu Shan Emily Lau2009-09-252-36/+39
| |
* | Merge change 26881 into eclairAndroid (Google) Code Review2009-09-251-8/+19
|\ \ | | | | | | | | | | | | * changes: Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
| * | Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes ↵Eric Laurent2009-09-241-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or over A2DP. When the AudioTrack callback notification size is relatively high (Which is the case on Sholes and over A2DP), it is likely that the end of tone is reached during the first callback. In this case, the AudioTrack is stopped before exiting the callback which causes 2 problems: - 1: If the AudioFlinger thread is scheduled before we exit the ToneGenerator callback, the track can be stopped and reset before the data is actually marked as present in the buffer by the AudioTrack callback => no audio will be processed by AudioFlinger. - 2: In this case, the data write index in the AudioTrack buffer is incremented after the track was reset by the AudioFlinger which leaves unplayed data in the buffer. This data will be played the next time the AudioTrack is started if not flushed in between. The fix consists in adding an intermediate state to ToneGenerator state machine so that we exit the callback function when the stop condition is reached and stop the AudioTrack the next time we execute the callback.
* | | Merge change 27011 into eclairAndroid (Google) Code Review2009-09-251-15/+17
|\ \ \ | |/ / |/| / | |/ | | * changes: Added the checking for the wma in the memory test.
| * Added the checking for the wma in the memory test.Yu Shan Emily Lau2009-09-251-15/+17
| |
* | Fix issue 2128896 The thumbnail generated after picture capture with max ↵Ray Chen2009-09-241-1/+1
| | | | | | | | zoom is overlapped with previous thumbnail.
* | Merge change 26948 into eclairAndroid (Google) Code Review2009-09-241-0/+1
|\ \ | |/ | | | | | | * changes: Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
| * Suppress the testPing as we moved the release test target to the userdebug. ↵Yu Shan Emily Lau2009-09-241-0/+1
| | | | | | | | This test rely on a mock_media_player.so which build under the eng build
* | Fix broken build.Dianne Hackborn2009-09-231-2/+2
| | | | | | | | | | | | I -did- run it... why did this later break on me?!? Change-Id: I70db0279f9a1b499496f9808525d2b112495d6c7
* | Add new thumbnail API.Ray Chen2009-09-233-0/+683
|/
* Merge change 26332 into eclairAndroid (Google) Code Review2009-09-223-18/+71
|\ | | | | | | | | * changes: 1) Add the wma / wmv profile reader. 2) Add the flag which check the wma/wmv enable properties. If the codec is not enable, then skip the wma / wmv related test cases. 3) Added a workaround which let the testcodecspecific test case continue even though there is a failure in the middle of the test. Besides, take out the remvoeFile for temporary usage.
| * 1) Add the wma / wmv profile reader.Yu Shan Emily Lau2009-09-223-18/+71
| | | | | | | | | | 2) Add the flag which check the wma/wmv enable properties. If the codec is not enable, then skip the wma / wmv related test cases. 3) Added a workaround which let the testcodecspecific test case continue even though there is a failure in the middle of the test. Besides, take out the remvoeFile for temporary usage.
* | Make media scanner read the jpeg orientation tag.Chih-Chung Chang2009-09-221-0/+22
|/
* Merge change 25858 into eclairAndroid (Google) Code Review2009-09-181-1/+2
|\ | | | | | | | | * changes: There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension
| * There is a know issue in PV regarding the video size return. Need to put a 1 ↵Yu Shan Emily Lau2009-09-181-1/+2
| | | | | | | | second sleep before we get the video dimension
* | Merge change 25826 into eclairAndroid (Google) Code Review2009-09-181-0/+1
|\ \ | |/ | | | | | | * changes: Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore.
| * Suppressed the invalidFrameRate as the framework is not throwing the ↵Yu Shan Emily Lau2009-09-181-0/+1
| | | | | | | | IOException anymore.
* | Improve ExifInterface API.Chih-Chung Chang2009-09-182-94/+40
|/ | | | Change-Id: Ic6c4df8244b51b9a0d1c73c3797847220d86604d
* Modified the validation to use singal media player instance.Yu Shan Emily Lau2009-09-171-5/+6
|
* Merge change 25452 into eclairAndroid (Google) Code Review2009-09-181-6/+6
|\ | | | | | | | | * changes: Modified the new stream video url.
| * Modified the new stream video url.Yu Shan Emily Lau2009-09-161-6/+6
| |
* | Merge change 25528 into eclairAndroid (Google) Code Review2009-09-171-0/+7
|\ \ | | | | | | | | | | | | * changes: Another stagefright test-case and ignore end-of-stream notifications while we're flushing.