summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Don't post position updates too frequentlyAndreas Huber2011-09-132-3/+17
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.e. don't hog my message queue. related-to-bug: 5284760 Change-Id: I8e2d36a11dbee1567b18ed13dc5257a65c6eeda7
* | | | | Merge "Turn an another assertion into a runtime error in ACodec's ↵Andreas Huber2011-09-121-22/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | implementation"
| * | | | | Turn an another assertion into a runtime error in ACodec's implementationAndreas Huber2011-09-121-22/+18
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Change-Id: I6779b29f200b90d088273ab3204724ef3d8d59bd related-to-bug: 5284760
* | | | | Increase the avi extractor's confidence slighly over mp3'sAndreas Huber2011-09-121-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that we don't accidentally identify a .avi file containing an mp3 track as an mp3 file. Change-Id: I73495b80cbb5bc1007bf810f2db453c9f175171b related-to-bug: 5288189
* | | | MTS Recorder Test: Use VideoFrameRate from Device Camcorder ProfileDevaraj Rangasamy2011-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MTS tests have hardcoded video framerates. MTS can query the video framerate supported by device via Camcorder profiles and use. Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5 Signed-off-by: Devaraj Rangasamy <dev@ti.com>
* | | | Merge "Fix another hardcoded frame rate in the media framework test"James Dong2011-09-093-14/+25
|\ \ \ \
| * | | | Fix another hardcoded frame rate in the media framework testJames Dong2011-09-073-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7d7f9d0812a0228dbf924084a32dbede0338b421 related-to-bug: 5264298
* | | | | Make MediaScanner skip certain directoriesGuang Zhu2011-09-091-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list of directories to skip are configurable via setprop. The main motivation is that some test data folder takes long time to scan, and media scanner may compete for CPU time against perf tests therefore skewing the results. Bug: 5263115 Change-Id: I568213e2a4babf6033021c1d336ef0347c0e3315
* | | | | Merge "Don't check mFilledBuffers whether it is empty or not when the port ↵James Dong2011-09-091-3/+8
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | reconfiguration is not meant for buffer reallocation"
| * | | | Don't check mFilledBuffers whether it is empty or not when the port ↵James Dong2011-09-091-3/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | reconfiguration is not meant for buffer reallocation Change-Id: Iee9b18449bce9d7565ab5cc7f9e999484051196c related-to-bug: 5233843
* | | | Merge "Fix bug 5045498 Unhide Remote Control Client API"Marco Nelissen2011-09-092-47/+80
|\ \ \ \
| * | | | Fix bug 5045498 Unhide Remote Control Client APIJean-Michel Trivi2011-09-012-47/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RemoteControlClient API enables media application to have information such as album art, current song, playback state be displayed on "remote control displays", as well as be controlled by "remote controls". The new API consists in: - a new class, RemoteControlClient - new methods in AudioManager to register a RemoteControlClient - a new class, RemoteControlClient.MetadataEditor to edit and apply the information associated with a RemoteControlClient, and which will be displayed on a "remote control display" Change-Id: I5616085e4ad58ce0bbc1a5953b0a5a28d32f8703
* | | | | Merge "Fix issue 4673378: switching from VoIP to GSM call"Eric Laurent2011-09-091-80/+108
|\ \ \ \ \
| * | | | | Fix issue 4673378: switching from VoIP to GSM callEric Laurent2011-09-081-80/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that any app can change the audio mode and override a mode previously set by another app. If two apps (gTalk and Phone) compete for audio mode ownership, there is no mechanism to maintain coherency in the actual audio mode selected. Added a mechanism in AudioService to manage an audio mode request stack. Any app requesting a mode different from NORMAL enters at the top of the stack and the requested mode is applied. When an app sets mode back to NORMAL, it exits the stack and the new mode corresponding to the request at the top of the stack (if any) is applied. Change-Id: I68d1755d0922f680df4a19bfc5ab924f5a5d8ccd
* | | | | | Fix 5278371: OOM in MediaItemThumbnailTestChih-Chung Chang2011-09-092-2/+6
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we request 400x240 thumbnails. 100 thumbnails needs 38M, which is too much. Change it to 70 now. Also handle the case if the thumbnail callback throws exception. Change-Id: Iac4ee72f308b7c7a6ae860983197601cf89bee8f
* | | | | Merge "AudioTrack: extend callback thread sleep time"Eric Laurent2011-09-081-1/+6
|\ \ \ \ \
| * | | | | AudioTrack: extend callback thread sleep timeEric Laurent2011-09-081-1/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not force wake up the AudioTrack thread every 10ms if no timed events (loop, markers..) have to be processed. This will help reduce power consumption. Change-Id: Icb425b13800690008dd07c27ffac84739e3dbba3
* | | | | Merge "Always set geometry in queuebuffer"Pannag Sanketi2011-09-081-4/+5
|\ \ \ \ \
| * | | | | Always set geometry in queuebufferPannag Sanketi2011-09-081-4/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The queuebuffer could return early due to timestamp issues. Need to set the geometry even in that case. Change-Id: I04d7cd1df3996d640c269285398c0042923ba920
* | | | | Audio player must not be used as a timesource before it's started.Andreas Huber2011-09-082-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise it'll trigger a division-by-zero exception since the audio sample rate is as yet unknown. Change-Id: I0793aa7c1c348ffa2611272bb646eff6ecf6ff53 related-to-bug: 5242451
* | | | | Merge "Fix 5156702: rotate thumbnails"Chih-Chung Chang2011-09-085-120/+89
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Fix 5156702: rotate thumbnailsChih-Chung Chang2011-09-075-120/+89
| | | | | | | | | | | | | | | | | | | | Change-Id: I97b51dadf129172d5b154e9dfd66da254e4559d7
* | | | | Merge "Bug 5270905 fix MediaPlayer with IStreamSource"Glenn Kasten2011-09-071-0/+1
|\ \ \ \ \
| * | | | | Bug 5270905 fix MediaPlayer with IStreamSourceGlenn Kasten2011-09-071-0/+1
| | |_|_|/ | |/| | | | | | | | | | | | | Change-Id: Ia8a6381a6c88b4a0a1378aab03f5275f0fa1125a
* | | | | Merge "Fixing bug in SurfaceMediaSource_test"Pannag Sanketi2011-09-071-5/+19
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Fixing bug in SurfaceMediaSource_testPannag Sanketi2011-09-021-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was making EGL calls once disconnected. Instead of calling "disconnect" directly on the Surface, and EGL calls should be made to that effect. Change-Id: I21468ac8cbc2cb3145a49269e32a884736cd452e
* | | | | Apparently keyframe status in audio tracks of .webm/.mkv files is unreliableAndreas Huber2011-09-071-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fortunately in all our supported audio encodings we can treat every frame as a keyframe. Change-Id: I32f21d0077bbae7ef9efe725dd351baf531179e2 related-to-bug: 5263837
* | | | | Merge "Stop metadata retriever from dereferencing a NULL pointer if"Andreas Huber2011-09-071-2/+14
|\ \ \ \ \
| * | | | | Stop metadata retriever from dereferencing a NULL pointer ifAndreas Huber2011-09-061-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the media extractor failed to initialize (malformed or unsupported content) Change-Id: Icfad4e9eeb8d6713ad12eee7979ab30b696c06e0 related-to-bug: 5263840
* | | | | | Merge "Fix startBluetoothSco race"Marco Nelissen2011-09-071-4/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Fix startBluetoothSco raceMarco Nelissen2011-09-061-4/+2
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: I8b711bd3c6b12f2e3e92144c0dadac72261bf914
* | | | | Merge "Use device-dependent frame rate in the media recorder performance test"James Dong2011-09-071-5/+26
|\ \ \ \ \
| * | | | | Use device-dependent frame rate in the media recorder performance testJames Dong2011-09-061-5/+26
| |/ / / / | | | | | | | | | | | | | | | | | | | | Change-Id: I778eca69c4acb9842f600c6ae23e7a89fb2e55f4 related-to-bug: 5264298
* | | | | Revert "To make SniffMP3() more concrete so that we can remove false-positve ↵James Dong2011-09-061-16/+15
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | responses from MPEG-PS streams." This reverts commit 983ab88e117fcbda9370b8f4ba94271d37149672. related-to-bug: 5231309
* | | | Merge "Issue 5247986: Battery drain due to audio wakelock"Eric Laurent2011-09-061-4/+21
|\ \ \ \ | |/ / / |/| | |
| * | | Issue 5247986: Battery drain due to audio wakelockEric Laurent2011-09-061-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem occurs when activating or deactivating A2DP connection while SoudPool has a channel active. This can happen quite frequently now that the UI sound effects are enabled by default. If PCM data is remaining in the AudioTrack buffer when it is restroyed and re-created on the new AudioFlinger output thread, this data is flushed. As a consequence, no underrun or request for new data callback is sent to SoundPool and the sound channel remains active for ever as the end of the sample is never detected. Change-Id: I13e0c11e4ce3f83bff7f58d347ca814b6a86712b
* | | | Merge "Handle setDataSource failures properly. #5261671"Dave Burke2011-09-061-9/+9
|\ \ \ \
| * | | | Handle setDataSource failures properly. #5261671Dave Burke2011-09-061-9/+9
| | | | | | | | | | | | | | | | | | | | Change-Id: Iea0aa474d1939db23da9aabdfae2081e834f30d9
* | | | | Merge "Don't overwrite pending port setting change if there are more than ↵James Dong2011-09-061-2/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | one port setting change event."
| * | | | Don't overwrite pending port setting change if there are more than one port ↵James Dong2011-09-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting change event. Change-Id: I3413f5235b191031252aa3785f5aaef00caef1ce related-to-bug: 5122512
* | | | | Merge "MediaPlayer: remove the setTexture method"Jamie Gennis2011-09-051-34/+0
|\ \ \ \ \
| * | | | | MediaPlayer: remove the setTexture methodJamie Gennis2011-09-021-34/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the MediaPlayer#setTexture method. It has been replaced with MediaPlayer#setSurface. Change-Id: Iaecbbac7629d7092883f270694c5c67391f4ed6c
* | | | | Merge "Fix 5240036: Generate a reasonable bitrate for intermediate clips."Chih-Chung Chang2011-09-041-6/+33
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Fix 5240036: Generate a reasonable bitrate for intermediate clips.Chih-Chung Chang2011-09-021-6/+33
| | |/ / | |/| | | | | | | | | | Change-Id: I96bf9a7d0e2ce78fd19cce7bccbd4ac318748709
* | | | Fix issue 5252593: any app can restart the runtimeEric Laurent2011-09-022-15/+33
| |/ / |/| | | | | | | | | | | | | | Replace null device address string by empty sting. Change-Id: I285c35f3345334e6d2190493b1a8a5aca1a361a4
* | | Properly serialize access to FileSource::getSize by acquiring the mutexAndreas Huber2011-09-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Both ::getSize and ::read call into lseek64, if this happens simultaneously from multiple threads the results are undefined if not properly serialized. Change-Id: I737cafebd836f3d8eb702beac557b4731f69c6f6 related-to-bug: 5196490
* | | Require INTERNET permission for network-based content.Dave Burke2011-09-027-176/+141
|/ / | | | | | | | | | | Bug #1870981 Change-Id: Ia3ad166390c4d60cea19c3783895b078a2c4c15f
* | Merge "Guard the audio notifications with a separate lock to avoid deadlocks ↵Andreas Huber2011-09-012-18/+17
|\ \ | | | | | | | | | during reset."
| * | Guard the audio notifications with a separate lock to avoid deadlocks during ↵Andreas Huber2011-09-012-18/+17
| |/ | | | | | | | | | | | | reset. Change-Id: I9a97372e1f777d1cbd6774cac2ed34b4b8cd9392 related-to-bug: 5179827
* | Signal an error when encountering a malformed .ts stream.Andreas Huber2011-09-011-13/+33
|/ | | | | Change-Id: I3ab0215419214b652573945403eb45eb09d41aff related-to-bug: 5114811