summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix bug 2201417. Whenever the System setting that indicatesJean-Michel Trivi2009-10-271-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | whether the notifcation stream uses the ring volume changes, the table of stream volume aliases in AudioService is updated. But the name of the alias stored in VolumeStreamState.mVolumeIndexSettingName was not updated whenever the NOTIFICATIONS_USE_RING_VOLUME setting was updated. This caused the wrong volume setting to be persisted. This change ensures the setting name is updated whenever the volume alias is, and persists the notification volume change right away (instead of after a delay), so that registered observers are notified right away. The notification seekbar in the sound settings is an example of such an observer.
* | Add some logging to detect if AsyncPlayer is lagging. Bug 2201082.Dave Sparks2009-10-271-42/+51
| |
* | Merge change I96458368 into eclairAndroid (Google) Code Review2009-10-262-1/+2
|\ \ | | | | | | | | | | | | * changes: Fixed the H263 video duation which caused the incorrect video validation.
| * | Fixed the H263 video duation which caused the incorrect video validation.Yu Shan Emily Lau2009-10-262-1/+2
| | |
* | | Merge change I7c0d20a7 into eclairAndroid (Google) Code Review2009-10-262-0/+37
|\ \ \ | | | | | | | | | | | | | | | | * changes: Run the metadataretriever at background priority. Bug 2187133.
| * | | Run the metadataretriever at background priority. Bug 2187133.Dave Sparks2009-10-262-0/+37
| |/ / | | | | | | | | | | | | | | | This change forces metadata retreiver threads to background priority. Uses an inner class to encapsulate the priority change so that it automatically restores priority when returning to the client.
* | | Revert "Now that the underlying bug is fixed we can continue using ↵Andreas Huber2009-10-261-0/+1
|/ / | | | | | | | | | | OMX_UseBuffer for this decoder's input buffers." This reverts commit 7a03b074a554ba3fd08dbc20cfd4b2f37c5f3aaa.
* | Merge change Icf10db28 into eclairAndroid (Google) Code Review2009-10-242-1/+24
|\ \ | | | | | | | | | | | | * changes: Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
| * | Fix issue 2192181: AudioFlinger must provide separated methods to set ↵Eric Laurent2009-10-212-1/+24
| |/ | | | | | | | | | | | | VOICE_CALL stream volume and down link audio volume. Added setVoiceVolume() method to AudioSystem, AudioFlinger, IAudioFlinger, AudioPolicyService. Removed call to AudioHardwareInterface::setVoiceVolume() from AudioFlinger::setStreamVolume().
* | Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout ↵Eric Laurent2009-10-231-4/+6
| | | | | | | | | | | | | | waiting for the stop sequence to complete. Unlock mLock mutex when exiting upon wait stop timeout condition. Increase timeout delays to avoid timing out when A2DP exits standby.
* | Now that the underlying bug is fixed we can continue using OMX_UseBuffer for ↵Andreas Huber2009-10-211-1/+0
|/ | | | this decoder's input buffers.
* do not merge: The qcom video decoders always output yuv data after adjusting ↵Andreas Huber2009-10-202-1/+8
| | | | | | dimensions to be a multiple of 16. Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.
* 1) Add 10 seconds wait time before collecting the end memory.Yu Shan Emily Lau2009-10-152-8/+12
| | | | 2) Modified the player stress test, shorten the plabyack time.
* 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