07b745e166ee62030960ccea37e117caadf71c32 |
|
24-May-2016 |
Andy Hung <hunga@google.com> |
Add memory heap checks for mediaserver and audioserver Memory heap check updated and restored to mediaserver, added as new option to audioserver. Requires properties to be set (example for audioserver): $ adb shell setprop libc.debug.malloc.program audioserver $ adb shell setprop libc.debug.malloc.options backtrace=8 $ adb shell pkill audioserver ... and to dump: $ adb shell dumpsys media.audio_flinger -m Bug: 28909124 Bug: 27500825 Change-Id: Ifa8c2c02b022daf1a799ee4a1d75282a3c921763
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0bfa3eee31c9f99ec65158f810e65e12bae5ebf1 |
|
14-May-2016 |
Andy Hung <hunga@google.com> |
MediaPlayer/MediaRecorder: Do not notify client of audioserver death Handled internally within NuPlayer and MediaRecorder. Bug: 28768023 Change-Id: I26d94332a4668bf7a8ad54a7b25e6f0a3a6fe48d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e93cc03da360a1a0d2ad937c745ce8c8e8be81c2 |
|
05-May-2016 |
Eric Laurent <elaurent@google.com> |
audioflinger: various offload playback fixes Revert underrun sleep time optimization added for offload by commit 51716185 which can cause music to pause for a few seconds in some corner cases. Allow underruns in STOPPING_1 state to avoid dropping last buffer received by the AudioTrack callback after stop() is called by the client. Allow interruption of thread loop sleep if a command is pending to speed up track start sequence. Do not wait for a full AudioTrack buffer before writing to audio HAL when resuming playback or transitioning to next track. Also moved log level for underruns in AudioSink from I to D to reduce spam on user builds. Bug: 28545177 Bug: 27682362 Bug: 28347796 Change-Id: I05b651b7878a2d2eedcac43cd669e32add171d40
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
375a9c03550cc1bdca9e2cca862d6e549530bac6 |
|
05-May-2016 |
Marco Nelissen <marcone@google.com> |
Merge "Report other servers' deaths in OnErrorListener too" into nyc-dev
|
6dc3a3e2292454f94c015da45f1ebfc6a493e736 |
|
30-Apr-2016 |
Marco Nelissen <marcone@google.com> |
Report other servers' deaths in OnErrorListener too otherwise applications will be unaware of those processes dying. Bug: 22775369 Change-Id: I48577f787a97ee7627ae8e7f32e2f21ace243ed0
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
3003807fcfa96c9cbfea18d643f47108aa116cd5 |
|
25-Apr-2016 |
Jeff Tinker <jtinker@google.com> |
Remove MediaDrm stack from mediaserver Part of media security hardening MediaDrm was temporarily allowed to run in either mediaserver or mediadrmserver while all nexus devices were implementing support for the native_handle representation of secure buffers. Now that all nexus devices support native_handle, the MediaDrm stack can be removed from mediaserver. b/22990512 Change-Id: Ie5d83bfeb4c4a824e1d0edb4c9452c782d6fd386
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
535412965145a1df2ec1770331e8477e52cd37b5 |
|
14-Apr-2016 |
Andy Hung <hunga@google.com> |
Add memory leak detection to mediaserver Bug: 28169802 Change-Id: I05e12ef3b12c5f0322ddf5ecc10d95205b0e44d6
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0c4a97e6e1470b2d8b8810792af8d66689020c51 |
|
13-Apr-2016 |
Andy Hung <hunga@google.com> |
Merge "NuPlayer: Reserve buffer for 8x max speed" into nyc-dev
|
f2c87b3f88d987d2af6322e9763eb8224a2bae48 |
|
08-Apr-2016 |
Andy Hung <hunga@google.com> |
NuPlayer: Notify if drain message time is unexpectedly long Bug: 27940058 Change-Id: Id8897c30e21b6b9de545a710e7766ffceb491455
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ff874dc957f9ea70d87f4d627bf903e1fc86d58b |
|
12-Apr-2016 |
Andy Hung <hunga@google.com> |
NuPlayer: Reserve buffer for 8x max speed Affects Photos with Bluetooth and 240x recording. Bug: 26986060 Change-Id: I228223221f9811e05c274d64cd42ac104db04c36
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
8a049c2f127f95715375d5ede39b2363b3a68329 |
|
09-Apr-2016 |
Andy Hung <hunga@google.com> |
Merge "MediaPlayerService: Remove 64 bit compilation warnings" into nyc-dev
|
2f6e73db45995636e5405fb2e1063a55550ba10f |
|
08-Apr-2016 |
Andy Hung <hunga@google.com> |
NuPlayer: fetch position from track Bug: 27940058 Change-Id: Ibe730dffca4b3e2649a07f1f7583b471e13bdbed
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
833b47505c513cb5c8f22aa922a7ea20d153b319 |
|
05-Apr-2016 |
Andy Hung <hunga@google.com> |
MediaPlayerService: Remove 64 bit compilation warnings Bug: 16890215 Change-Id: I83d27d8c0c51bd868737bc2a1d6e046702d2a91c
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e13f8a603867280de9b02ce4839202a182556416 |
|
30-Mar-2016 |
Andy Hung <hunga@google.com> |
NuPlayer: Play out remaining audio data when recycling isn't possible Don't flush it immediately. Bug: 26530291 Change-Id: I0427633402fa251ec62e2b70e47a0a7b451d3ea2
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d848eb48c121c119e8ba7583efc75415fe102570 |
|
08-Mar-2016 |
Glenn Kasten <gkasten@google.com> |
Use audio_session_t consistently Bug: 27562099 Change-Id: I328d8226191386b163f2ace41233607294c50dcd
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1900e77bac4276f247f80fd06d19316cac598f57 |
|
03-Feb-2016 |
Marco Nelissen <marcone@google.com> |
Run codecs in a separate process Encoders and secure decoders still run in the mediaserver, while all other codecs run in a separate codec process. Bug: 22775369 Change-Id: Ifbcab8a8f2fe77d2567830ac88f0d982e77f7b00
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e4d40ad91f3516bde106658673b2cb076b5dfcb7 |
|
13-Jan-2016 |
Lajos Molnar <lajos@google.com> |
stagefright: Remove deprecated AwesomePlayer Bug: 17108024 Change-Id: Ia721bdfa87b07612ad8e76cbdcda6de2b8ce2a74
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
260e56c9a17737bf280d776797d6dee411c9b4da |
|
28-Jan-2016 |
Marco Nelissen <marcone@google.com> |
Revert "Run codecs in a separate process" This reverts commit 4f12d94fc26df1d0c7a566792711b8863fd39fe9. Change-Id: Ic850a950119a45efd3042f40147253b37c328853
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4f12d94fc26df1d0c7a566792711b8863fd39fe9 |
|
16-Dec-2015 |
Marco Nelissen <marcone@google.com> |
Run codecs in a separate process For now this only runs decoders and Google encoders in the codec process. Bug: 22775369 Change-Id: Iadd8b6bc2873ddcfaee3e68866642ba74c6949aa
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2afac0c7c42560ff5b8f133c6074b7e023279d6d |
|
07-Jan-2016 |
Wei Jia <wjia@google.com> |
libmedia: check NULL pointer at binder receiver side. Change-Id: I464da96f3d6081dd8c3cc2fd977e2b96f5d477bb
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
3f273d10817ddb2f792ae043de692efcdf1988ae |
|
24-Nov-2015 |
Wei Jia <wjia@google.com> |
Uses AudioFlinger to signal battery stats for audio. Bug: 18177221 Change-Id: I704010c037cb99bb74b98798ee8e494fa8bdc875
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
23cba7d6b11ba47bd0408f84fb935c4d382fff59 |
|
30-Oct-2015 |
Erik Wolsheimer <ewol@google.com> |
fix deadlock in MediaPlayerService BUG: 25263909 am: 7845a1f079 am: 470b7752e3 * commit '470b7752e38307305365fdaaa005b81db977d708': fix deadlock in MediaPlayerService BUG: 25263909
|
470b7752e38307305365fdaaa005b81db977d708 |
|
30-Oct-2015 |
Erik Wolsheimer <ewol@google.com> |
fix deadlock in MediaPlayerService BUG: 25263909 am: 7845a1f079 * commit '7845a1f0790a1de9e26e99578f6ce3219cf8efc3': fix deadlock in MediaPlayerService BUG: 25263909
|
7845a1f0790a1de9e26e99578f6ce3219cf8efc3 |
|
30-Oct-2015 |
Erik Wolsheimer <ewol@google.com> |
fix deadlock in MediaPlayerService BUG: 25263909 Change-Id: I3f08c02a851b67ab269e9aef7b2fb17eda09ea5d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
213f490215c2946edc2cc3f589219efe283d6548 |
|
22-Oct-2015 |
Wei Jia <wjia@google.com> |
MediaPlayerService: fix returned value for getPlayedOutDurationUs(). Change-Id: Id38c146cb43543c83b8378752027cc292cdbd17b
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
c4ac8173f911aeac8d5006b19ba48fb51a865115 |
|
21-Oct-2015 |
Wei Jia <wjia@google.com> |
AudioSink: move getPlayedOutAudioDurationUs() from NuPlayerRenderer to AudioSink. Change-Id: Id22e10dc5f1cd7ade0e043ea56ed77497c2e32af
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
83b0fd9997b558f6c2ebf5e6e4db20570cb233b8 |
|
16-Sep-2015 |
Marco Nelissen <marcone@google.com> |
Optionally print name for fd Add utility function to get the file name for a file descriptor, and use it in various places. Change-Id: I196b557a56d5ef0ef89e2020aab2699eafae61b0
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fcce691b9741fd8b7860645c99db4158d1cbbd92 |
|
28-Aug-2015 |
Eric Laurent <elaurent@google.com> |
am 945d3ba7: Merge "AudioSink: Fix for gapless offload playback" into mnc-dr-dev * commit '945d3ba77cd13061e034301b35ce308b0d926353': AudioSink: Fix for gapless offload playback
|
2e17eef829f1870d9bde963a356dfb11f120a6b5 |
|
12-Aug-2015 |
Preetam Singh Ranawat <apranawat@codeaurora.org> |
AudioSink: Fix for gapless offload playback Gapless mode is not working for offload playback due to mismatch in flags of current track and next track to be played. AUDIO_OUTPUT_FLAG_DIRECT is added in AudioTrack flags for current track which does not match exactly with requested flags for next track. Because of this mismatch, reuse of the AudioTrack is not allowed. To fix this, update audio sink flags with requested flags and use track flags only to setPlaybackRate if AUDIO_OUTPUT_FLAG_DIRECT flag is not set. Bug: 23221273 authored-by: Preetam Singh Ranawat <apranawat@codeaurora.org> Change-Id: I52761ccd854b66a7bc218e83c9b44598771c46f7
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f9e3617a4cc035446329be45f8b078dd917c7388 |
|
13-Aug-2015 |
Elliott Hughes <enh@google.com> |
resolved conflicts for merge of ab3df6d8 to mnc-dr-dev-plus-aosp Change-Id: I2f6ef2d43275739d24ad8b79270f18e374d88e55
|
308f3927dee3861586c17df267265ae0c86d79f7 |
|
12-Aug-2015 |
Elliott Hughes <enh@google.com> |
frameworks/av doesn't need to support the long-dead simulator. Change-Id: I43678ee1da57e7f42670f6042b2acc14db50d750
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9a89ceebd3a76d20ddfdbb127066b7d66fc48b96 |
|
24-Jul-2015 |
Ricardo Garcia <rago@google.com> |
am 31df62ab: Merge "MediaPlayerService: prevent audio_attributes_t race conditions" into mnc-dev * commit '31df62abf1b1bd45b217f6de7f6ffb503a885b95': MediaPlayerService: prevent audio_attributes_t race conditions
|
2650e9661ea1608dfb6b58bc640a66cdbbb6ae58 |
|
23-Jul-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
MediaPlayerService: prevent audio_attributes_t race conditions Access to audio attributes fields in Client and AudioOutput was not always locked. Audio attributes field in AudioOutput cannot share the same pointer as Client because it can be indepently accessed. Save the attributes inside AudioOutput instead. Bug 22672670 Change-Id: Ib1002b57b45cea44ff5e6eb115d581dc3beec006
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
66f1d3f01eb4d745e4abd3b96eca961e200efc3f |
|
23-Jul-2015 |
Ronghua Wu <ronghuawu@google.com> |
am f87d8341: Merge "libmediaplayerservice: propagate caller pid to MediaCodec." into mnc-dev * commit 'f87d8341df3445fb4931a39deec2ec1d00c30918': libmediaplayerservice: propagate caller pid to MediaCodec.
|
68845c14ebf2c7282800b1abffde38d8e9a57aab |
|
21-Jul-2015 |
Ronghua Wu <ronghuawu@google.com> |
libmediaplayerservice: propagate caller pid to MediaCodec. Bug: 22630317 Change-Id: I0337d74f4ef04bf96f2de83f33d98d0d7da47c12
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
83582fafce2122286124710c3a9c749b4825a033 |
|
16-Jul-2015 |
Eric Laurent <elaurent@google.com> |
am a8dc93ef: Merge "mediaplayer: fix audio attributes override by stream type" into mnc-dev * commit 'a8dc93efc9be8d5e37c7473601fb8654804188c1': mediaplayer: fix audio attributes override by stream type
|
4356269be6d2b62bbb945364e8fc4beb99e1aada |
|
16-Jul-2015 |
Eric Laurent <elaurent@google.com> |
mediaplayer: fix audio attributes override by stream type Make sure that when audio attributes are set, the stream type is always derived from them. Bug: 22481669. Change-Id: Ia10c7017eb27e7753faf97a42dd4f44e15f2c986
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
cda7cf7f6fda88525b6827cebf6372473b3fc876 |
|
10-Jul-2015 |
Andy Hung <hunga@google.com> |
am b6b19ca7: Merge "libmediaplayerservice: Serialize access to AudioOutput" into mnc-dev * commit 'b6b19ca71e41276190fcd97351a0d19fae75bd34': libmediaplayerservice: Serialize access to AudioOutput
|
d1c74340c9346e2bfd061e20fba9bf34c22d77db |
|
08-Jul-2015 |
Andy Hung <hunga@google.com> |
libmediaplayerservice: Serialize access to AudioOutput NuPlayerRenderer may open and close the AudioOutput while MediaPlayerService::Client accesses it. Bug: 20069455 Bug: 22295200 Change-Id: Ic37987c1de1919cf890b2e69778e6df71e7ee7c5
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
c9811dc703a38add41ee3960c1d7242ed154434f |
|
09-Jun-2015 |
Wei Jia <wjia@google.com> |
am f49b5150: Merge "AudioSink: use flags granted by AudioTrack, instead of the requested flags." into mnc-dev * commit 'f49b5150f87c98c389a334c3af5a9a586d40ee8f': AudioSink: use flags granted by AudioTrack, instead of the requested flags.
|
f49b5150f87c98c389a334c3af5a9a586d40ee8f |
|
09-Jun-2015 |
Wei Jia <wjia@google.com> |
Merge "AudioSink: use flags granted by AudioTrack, instead of the requested flags." into mnc-dev
|
0162d00a38cdb5f4eba5dfe8cd272f69ddbc8c21 |
|
09-Jun-2015 |
Wei Jia <wjia@google.com> |
AudioSink: use flags granted by AudioTrack, instead of the requested flags. Do not call AudioTrack::setPlaybackRate when DIRECT flag is set. Bug: 17459982 Change-Id: Ib8fb07be72558234519590bcc3bb88c4f6edfa37
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
979d0d7a73b085920345028e28714be81d83e9c5 |
|
05-Jun-2015 |
Andy Hung <hunga@google.com> |
am bc186651: Merge "NuPlayer: Add audio sink buffer configuration" into mnc-dev * commit 'bc186651b6ff4bef5ebe0087c0e34bc8e89b14a3': NuPlayer: Add audio sink buffer configuration
|
179652ee2a508361df1aa18e99000373886f0816 |
|
01-Jun-2015 |
Andy Hung <hunga@google.com> |
NuPlayer: Add audio sink buffer configuration Property media.stagefright.audio.sink (in milliseconds) Also change the default buffer size for PCM playback to 500 ms. Bug: 21198655 Change-Id: I5781288f59bf08fbecd9263a26c919570b58be0f
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ff96dd688f50b7ed3f4ab8fb04fb4a61e596130b |
|
03-Jun-2015 |
Andy Hung <hunga@google.com> |
am 4170eeec: Merge "MediaPlayerService: Reset the bytes written in AudioSink stop and flush" into mnc-dev * commit '4170eeec0a2dc2a9543b7e4674a43b3d2faac61d': MediaPlayerService: Reset the bytes written in AudioSink stop and flush
|
91e1a4e9ffed810f94690c16f6771f302f9dcf95 |
|
03-Jun-2015 |
Andy Hung <hunga@google.com> |
am 6f04a0c9: Merge "MediaPlayerService: Remove unnecessary zero writes to AudioSink" into mnc-dev * commit '6f04a0c9bf531372ba885a82e592a0eeb27b9484': MediaPlayerService: Remove unnecessary zero writes to AudioSink
|
4170eeec0a2dc2a9543b7e4674a43b3d2faac61d |
|
03-Jun-2015 |
Andy Hung <hunga@google.com> |
Merge "MediaPlayerService: Reset the bytes written in AudioSink stop and flush" into mnc-dev
|
da17c04fa1c81ff8ffa8160df06fa5031a7884f4 |
|
02-Jun-2015 |
Andy Hung <hunga@google.com> |
MediaPlayerService: Reset the bytes written in AudioSink stop and flush When playing in non-offloaded mode with gapless playback it is necessary to reset AudioSink's bytes written on stop and flush (e.g. seeking) so the frames written can be correctly retrieved for the subsequent song in NuPlayer::Renderer::onAudioSinkChanged(). Without this change, seeks performed during playback will cause a time position offset of the subsequent song in Play Music. Bug: 21198655 Change-Id: I0fb6cc94b5a0ff106dc8a71571ed85d75fb00660
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
719b46bdbafa226aed3163ed8e76a2cc4dff386b |
|
01-Jun-2015 |
Andy Hung <hunga@google.com> |
MediaPlayerService: Remove unnecessary zero writes to AudioSink Causes glitches in PCM playback for NuPlayer callback mode. Not sure the original intention of this with AwesomePlayer, as zeroes are only placed under EOS condition for AudioSink targets, not AudioTrack targets. Does not seem useful anymore as AwesomePlayer appears to call stop() which should send the remaining track data out. Bug: 21198655 Change-Id: Iab80dd7bc6e2e341f92406c5d8f8085e9d877bcd
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1bf65efd28fffbbc600177c11799a8d7c3cb2477 |
|
02-Jun-2015 |
Ruben Brunk <rubenbrunk@google.com> |
am cb18ec05: Merge "Track camera and flashlight usage in battery stats." into mnc-dev * commit 'cb18ec05b7097a63262b81afe1e866105d400f4a': Track camera and flashlight usage in battery stats.
|
cb18ec05b7097a63262b81afe1e866105d400f4a |
|
02-Jun-2015 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Track camera and flashlight usage in battery stats." into mnc-dev
|
99e69716215cd0665379bc90d708f2ea8689831d |
|
27-May-2015 |
Ruben Brunk <rubenbrunk@google.com> |
Track camera and flashlight usage in battery stats. Bug: 15986092 Change-Id: I9dc6828332e4091fd93bf2d82839e8e3862a2fc2
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4612b1f4df00f1985d28131fbf52afc2146ded54 |
|
01-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
am 90869ff4: Merge "Explicit log for AudioTrack::EVENT_UNDERRUN" into mnc-dev * commit '90869ff493a3e8d1aa39c146530be03dc2a7dd84': Explicit log for AudioTrack::EVENT_UNDERRUN
|
421743b3f8d14b700f2e1be256e010756fa85af8 |
|
01-Jun-2015 |
Glenn Kasten <gkasten@google.com> |
Explicit log for AudioTrack::EVENT_UNDERRUN Prompted by this bug, but not a fix for the bug Bug: 21352202 Change-Id: I350d9d8660a367470450c9f54d7c541d4896ebda
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
475ed1d6c842abdb773fa8e39290375ceda39b62 |
|
22-May-2015 |
Ronghua Wu <ronghuawu@google.com> |
am 0a7989f5: Merge "libmediaplayerservice: try to open audio sink in offload mode in error." into mnc-dev * commit '0a7989f5691f161fff97dd550eb602e44a6e6185': libmediaplayerservice: try to open audio sink in offload mode in error.
|
faeb0f291330134dc4468359a36e099aae508449 |
|
21-May-2015 |
Ronghua Wu <ronghuawu@google.com> |
libmediaplayerservice: try to open audio sink in offload mode in error. Bug: 19061432 Bug: 21370108 Change-Id: Iaa757555ef37fd1ac87b6e2d5a9969bb58cc5ebc
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
3d4d897cf6a933dd02e8d83e674a4ecfe2ea578b |
|
19-May-2015 |
Glenn Kasten <gkasten@google.com> |
am d45d75d7: Merge "Clear mAudioRecord and mAudioTrack on set() failure" into mnc-dev * commit 'd45d75d7c19811c5afe9b115c7282f9aa4e1ee4d': Clear mAudioRecord and mAudioTrack on set() failure
|
3e98ecd18c906dc3ac2ff1a890f0b3163447272d |
|
18-May-2015 |
Glenn Kasten <gkasten@google.com> |
Clear mAudioRecord and mAudioTrack on set() failure Bug: 20818955 Bug: 20890069 Change-Id: I243205b99b198eb1b5a1a027b27cbb7d5aaaa8db
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0ab2c4ce6f669722c055f1f4d35d6a79d21ba7c7 |
|
01-May-2015 |
Lajos Molnar <lajos@google.com> |
am 3a474aa6: stagefright: support setting/getting playback/sync config in MediaSync * commit '3a474aa67fc31505740526dd249d96204c08bf79': stagefright: support setting/getting playback/sync config in MediaSync
|
3a474aa67fc31505740526dd249d96204c08bf79 |
|
25-Apr-2015 |
Lajos Molnar <lajos@google.com> |
stagefright: support setting/getting playback/sync config in MediaSync Bug: 18249558 Bug: 19666434 Bug: 20057497 Change-Id: I5868b17423d7c20cfaf4a399f3eb67bfba440605
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7cc31f737508b7fd3205b9d8f971bffb71498740 |
|
29-Apr-2015 |
Svet Ganov <svetoslavganov@google.com> |
am afc750aa: Merge "Respect the record audio app op - media" into mnc-dev * commit 'afc750aa3ac536067180f9714e34f626f8c981b3': Respect the record audio app op - media
|
be71aa29a3c86d2e01cd17839d2a72ab09a1bce5 |
|
28-Apr-2015 |
Svet Ganov <svetoslavganov@google.com> |
Respect the record audio app op - media Change-Id: I3a97977b6e9a09355e2008f780d22d480fb7308b
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9c3e9c4ffd385abf12823cd3ffe0ee0bc688af76 |
|
28-Apr-2015 |
Marco Nelissen <marcone@google.com> |
am 31c81e9e: am b8111f83: Merge "Fix potential double close in IMediaMetadataRetriever::setDataSource" * commit '31c81e9e4a468a448b387d5c905b4ac5c6a014fc': Fix potential double close in IMediaMetadataRetriever::setDataSource
|
55203e2e29428c2c7bd830d731f5e6ed890d9a10 |
|
21-Apr-2015 |
Taiju Tsuiki <tzik@google.com> |
Fix potential double close in IMediaMetadataRetriever::setDataSource IMediaMetadataRetriever::setDataSource(fd, offset, length) takes the ownership of |fd| on the direct invocation, and doesn't take the ownership on invocation from Binder. This is inconsintent to other similar methods like IMediaPlayer::setDataSource, and causes potential double close of |fd|. This CL changes the caller and implementations to leave the ownership to make them consistent. Also, fixes a double close in IMediaPlayerService::setDataSource in an error case. Change-Id: Id551a1e725c4392b0fe6b7293871212eb101c0a5
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5fde15db465775d5c607cf069752e2e075f8fc6d |
|
21-Apr-2015 |
Ying Wang <wangying@google.com> |
Fix mips build. Change-Id: I49aa83e38e90ebd20793885de9420de96062aa37
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
6d339f1f764bbd32e3381dae7bfa7c6c575bb493 |
|
18-Apr-2015 |
Lajos Molnar <lajos@google.com> |
libmediaplayerservice: fix warnings, make warnings errors, use clang Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
99f31604136d66ae10e20669fb6b5716f342bde0 |
|
20-Mar-2015 |
Chris Watkins <watk@google.com> |
Unhide the android.media.[Media]DataSource interface. This allows apps to implement MediaDataSource, which is modeled on stagefright's DataSource, to supply media data to the framework. This was already implemented for MediaExtractor, but it was renamed from DataSource. MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new overload: #setDataSource(android.media.MediaDataSource) Only NuPlayer supports this new data source. The change introduces: * IDataSource: The binder interface for DataSource. * JMediaDataSource: The native counterpart to the java interface. It implements IDataSource. * CallbackDataSource: A stagefright DataSource that wraps an IDataSource. Change-Id: Ib3c944b49cc8a792c8eb9c85e5015c07f298ebc1
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
88b456640085fa0e92d66e42ddaf24449c8c4fdb |
|
11-Mar-2015 |
Vineeta Srivastava <vsrivastava@google.com> |
Merge "libmediaplayerservice: fix deadlock in dump()"
|
330c8e3ff98e4cb78dad28bbacdb127da3e265ac |
|
22-Dec-2014 |
Ravi Kumar Alamanda <ralama@codeaurora.org> |
libmediaplayerservice: fix deadlock in dump() Issue: Calling dump function while the media clients (sessions) are created and destroyed will result in a deadlock. Description: MediaPlayerService::dump() takes Mutex while calling client::dump() and right after that the strong reference to client is cleared. If there are no references to client object at this moment (which is the case if multiple audio sessions are created and destroyed) then the client destructor gets called which tries to take the same Mutex resulting in a deadlock. Fix: Take a strong reference to client objects and release them only after releasing the Mutex. Bug: 18700631 Author: Sidipotu Ashok<sashok@codeaurora.org> Change-Id: I82c89771de352d2f0d914eb0a3b9fc7bfb6116b0
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b9a23184272a75f1585e8dd64eeccc3a3e621d5f |
|
09-Mar-2015 |
Warren Rehman <wrehman@google.com> |
Merge "Defensively check for batterystats service instead of blocking to get it."
|
ed849b8266824d4c5df15466e5c02e1471192461 |
|
05-Mar-2015 |
Warren Rehman <wrehman@google.com> |
Defensively check for batterystats service instead of blocking to get it. bug: 19189826 Change-Id: I656e863eb68edf22812eb380ec6cd4105f4000aa On branch checkbattstats Changes to be committed: modified: MediaPlayerService.cpp
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7d3f4df0a77e052a7d37de9268aff8c2ed0909cc |
|
04-Mar-2015 |
Wei Jia <wjia@google.com> |
mediaplayer: use non-blocking mode for AudioSink::write(). This cherry picks https://googleplex-android-review.git.corp.google.com/#/c/643541/ to master. Bug: 19448263 Change-Id: I43dea830212de79c2b080185b6c6b36078f517d2
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9816016afb2a13c6a866cd047d57020566a8b9a9 |
|
05-Feb-2015 |
Wei Jia <wjia@google.com> |
mediaplayer: support dynamic playback rate Bug: 19196501 Change-Id: I856b1507d5fa2cedfb645706d2435683a7d3e050
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f09611f2f33752afc28141e1bbaa897651c05d6f |
|
13-Feb-2015 |
Marco Nelissen <marcone@google.com> |
Add dumpsys info Print a list of looper-handler pairs and the number of messages they've processed, and optionally break those stats out by message type. Change-Id: I68ce4a7003152d5c9b5cb3f42e6f3949b471aa6e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b7848f1c442bc8c71020957948d1b003a62a25b7 |
|
04-Dec-2014 |
Marco Nelissen <marcone@google.com> |
Remove MediaPlayerService::decode() and make SoundPool use MediaCodec for decoding files to PCM. Bug: 18239054 Change-Id: Ia144fc1bbb0d2787638ee972e2224339b4965310
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0e8928bf4f2b01b783f6da97d15e8f1abb0fd7d7 |
|
08-Jan-2015 |
Marco Nelissen <marcone@google.com> |
Replace MidiFile player with a Midi extractor This gets rids of a bunch of special midi handling and replaces it with an extractor that works with NuPlayer and MediaMetadataRetriever. Change-Id: I8d0f5bbdde2ca24267cf4d62ab26afe9630e0217
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
bd08223c450a7a2e8e8d79e6be148ed1ac64caa3 |
|
22-Dec-2014 |
Marco Nelissen <marcone@google.com> |
Merge "Fix double close."
|
f888020c6e2735624f2b2a30e72aca24e17b8b4d |
|
14-Nov-2014 |
Marco Nelissen <marcone@google.com> |
Update calls to IInterface::asBinder() to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a Conflicts: media/libmedia/IAudioFlinger.cpp media/libmedia/IMediaPlayer.cpp media/libstagefright/CameraSource.cpp
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
06ad1528e6dd4c866c085d3cad9235d2752eb3ed |
|
28-Aug-2014 |
Lajos Molnar <lajos@google.com> |
NuPlayer: use getTimestamp instead of getPosition Bug: 14659809 Bug: 16985287 Change-Id: I59ec72fbd40a9b8d28fe548ddad082c03000c045
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4f418f9705d6c247b645cbcf255a3f56e665d216 |
|
05-Sep-2014 |
Hyejin Kim <hyejin.kim@lge.com> |
Fix to parse audio_source_t member of audio_attributes_t When unmarshalling audio_attributes_t typed data, it didn't parse the audio_source_t member between content_type and flags. Bug: 16906307 Change-Id: Ia0d8df9b5c31441d34dc82678bceccd8ce31423d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
a31335a4ec96ba351f25f3b26fa79a78c2723a13 |
|
21-Aug-2014 |
Andy Hung <hunga@google.com> |
Fix SoundPool and MediaPlayerService buffer overflow Overflow occurs when SoundPool sample tracks cannot fit in the MediaPlayerService AudioCache buffer. Unnecessary decoding occurred with AwesomePlayer and an assert failure occurred with NuPlayer. NuPlayerRenderer is also tweaked to handle the latter case. Bug: 17122639 Change-Id: I4d25d3e2c0c62e36a91da6bf969edabddc2ebbb0
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f2575571d88cd42508407e98957a19a875dcf926 |
|
13-Aug-2014 |
aarti jadhav-gaikwad <agaikwad@nvidia.com> |
stagefright: Do not add silence data for compress offload Bug: 16683770 Bug: 17035257 Change-Id: I7aef543c47214cc2854d143167b02f1603cf8bea
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1381d4b5c0385aec3741073e5998773b064c1fb0 |
|
08-Aug-2014 |
Lajos Molnar <lajos@google.com> |
media/playerservice: add getCodecList() to MediaPlayerService Bug: 11990470 Change-Id: I8fa45946fd9b76f9b975fc59062819c57e6881ef
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0b30fd4ccf5218b15f770e778703d69cd3432446 |
|
23-Jul-2014 |
Chong Zhang <chz@google.com> |
reset battery stats when media player service is started Bug: 12979595 Change-Id: Ia800de3e65ed4dec8334c6fde566edab12d23c42
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d9d7fa0873796ac661c44a7fcd6ad5ff697ff01f |
|
24-Jun-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Support for audio attributes on audio output of media player Change-Id: Iae4995c98e64add1ab9e6c8ae6501515032755f5
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
77342f72fdf96603938a95fcbb9888ec90e71e68 |
|
19-Jun-2014 |
Mark Salyzyn <salyzyn@google.com> |
libmediaplayerservice: 64-bit compile warnings Change-Id: I333e52dc377becc774f3fa971c230ecb55ea8d7b
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5225ba0632e9dcf6fab562e4632ae8d6d4312959 |
|
16-May-2014 |
Bao Haojun <baohaojun@gmail.com> |
Fix double close. This patch will fix the double close issue in SoundPool::doLoad(): status = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, mHeap, &mSize); ALOGV("close(%d)", mFd); ::close(mFd); mFd = -1; In MediaPlayerService::decode() which is called directly by MediaPlayer::decode(), the fd will be closed, and after it return, the mFd will be closed again. When the system is idle, the second close will fail with EBADFD, but if the system is busy, the mFd will be reused with another open/socket/pipe system call, and the second close will cause errors. Change-Id: If709515392cd490fea569658202524c51f8df785 Signed-off-by: Bao Haojun <baohaojun@gmail.com> Signed-off-by: Wang Liang <wangliang@smartisan.cn>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
adad3d7d935da176ff24941b4ae9edf7340e9b96 |
|
21-Feb-2014 |
Glenn Kasten <gkasten@google.com> |
Use LOG_ALWAYS_FATAL instead of LOG_FATAL LOG_FATAL is compiled out in most builds, so the assertion checks were not being performed. Change-Id: I774f0985ab9c5ccecd8989a0f1c940386b73fc35
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
bce50bfc3846ab008bafa75c5d3f29fd7b5395f7 |
|
28-Feb-2014 |
Glenn Kasten <gkasten@google.com> |
Fix type of AudioTrack/AudioRecord parameter frameCount It's size_t consistently Change-Id: I29638ef59ac773218025f2403a3508a307b487e0
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d457c970c8d08519cd77280a90b61ae1e342cfe3 |
|
11-Feb-2014 |
Marco Nelissen <marcone@google.com> |
Track pid for each session so they can be properly freed. Change-Id: I6f389035bc29e74e7c367c1c6d0252b180f666b3
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1d6fa7af1288b550faabe4ec2cf98684236723db |
|
11-Feb-2014 |
Narayan Kamath <narayan@google.com> |
resolved conflicts for merge of 566be7c3 to master Change-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce
|
377b2ec9a2885f9b6405b07ba900a9e3f4349c38 |
|
03-Feb-2014 |
Kévin PETIT <kevin.petit@arm.com> |
Make frameworks/av 64-bit compatible Contains the necessary changes to make frameworks/av build and work on a 64-bit machine. Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
81e68448f3361eaf8618930471fdc3c21bdf5cbc |
|
05-Feb-2014 |
Andreas Huber <andih@google.com> |
Remove no longer needed http proxy handling code, it's obsolete now since we started to use java's HTTPConnection instead of the native implementation. Also remove other remnants of the previous http implementation, such as accounting for the http user's uid. Change-Id: I60bfd31381ea40d2220db587ec5c433093b60034
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1b86fe063badb5f28c467ade39be0f4008688947 |
|
29-Jan-2014 |
Andreas Huber <andih@google.com> |
FINAL ATTEMPT: HTTP services are now provided from JAVA and made available to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5e49afd05566820517747b9a8071c99ec0918328 |
|
27-Jul-2013 |
Eric Laurent <elaurent@google.com> |
update offloaded audio track sampling rate AudioPlayer must read the sampling rate from offloaded audio sinks whenever a new time position is computed as the decoder can update the sampling rate on the fly. Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
6f59db12a64f4496866952a251122ccb77a36c6b |
|
27-Jul-2013 |
Eric Laurent <elaurent@google.com> |
update offloaded audio track sampling rate AudioPlayer must read the sampling rate from offloaded audio sinks whenever a new time position is computed as the decoder can update the sampling rate on the fly. Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9cae217050aa1347d4ac5053c305754879e3f97f |
|
14-Jan-2013 |
Marco Nelissen <marcone@google.com> |
Assign blame for playback wakelocks. Set a work source for the playback wakelock, so that playback is counted against the requesting app instead of the media server. Cherrypicked from master. b/9464621 Change-Id: I7329f88a288a95a582a78005a1c3d16a5a611e31
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
462fd2fa9eef642b0574aa7409de0bde3fec8d43 |
|
14-Jan-2013 |
Marco Nelissen <marcone@google.com> |
Assign blame for playback wakelocks. Set a work source for the playback wakelock, so that playback is counted against the requesting app instead of the media server. Change-Id: I7329f88a288a95a582a78005a1c3d16a5a611e31
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
3d00aa6de95fb46e36f2bab4e3facdf0b96acf06 |
|
24-Sep-2013 |
Eric Laurent <elaurent@google.com> |
soundpool: allocate shared memory heap by client Current SoundPool implementation allocates the shared memory heap containing decoded PCM samples in mediaserver process. When mediaserver process crashes, the shared memory heaps allocated by AudioCache cannot be mapped anymore in the new instance of mediaserver. This causes a silent failure to end playback of new sounds because AudioFlinger believes the new AudioTracks are opened in streaming mode and not static mode: it sees a NULL shared memory pointer when the track is created. The fix consists in allocating the memory heap in the client process. Thus the heap is not lost when mediaserver restarts. The global memory usage is the same as this is shared memory. Also added a way to detect that a shared memory is passed when the track is created but cannot be mapped on mediaserver side. Also fix a crash in SoundPool when ALOGV is enabled. Bug: 10894793. Change-Id: Ice6c66ec3b2a409d75dc903a508b6c6fbfb2e8a7
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ee08f7e36eeba80e005f9bdaebce635860a8f005 |
|
16-Sep-2013 |
Marco Nelissen <marcone@google.com> |
Fix hang Specify that the surface is controlled by the app, to avoid a hang. b/10531761 Change-Id: Idccc2c73aa3d368d8e7fbdc071ce36e2382efea4
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d89532e133b881c7e0dac089333ad7642fc510f1 |
|
14-May-2013 |
Richard Fitzgerald <rf@opensource.wolfsonmicro.com> |
libmediaplayerservice: offload playback support Main change is to how recycled tracks are used for gapless playback. If we are playing offloaded tracks that can't be recycled we don't open a new offloaded output until we have closed the previous one. This is because offloaded tracks are a limited resource so we don't want to spuriously create unnecessary instances. If the tracks cannot be recycled this means that the formats are incompatible and so the hardware most likely will also be unable to use the existing output channel for the new track. If we already have the maximum number of hardware offload channels open (which could be only one) then creation of the next output would fail if we attempted it while the previous output was still open. Change-Id: I4f5958074e7ffd2e17108157fee86329506730ea Signed-off-by: Eric Laurent <elaurent@google.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f761cec9aaca76bb84264f3666764d24a9c243e2 |
|
28-Jun-2013 |
Glenn Kasten <gkasten@android.com> |
am 903871da: am 83790fcc: am bdf33c98: Merge "Fix compilation warning: incorrect format specifier for type \'ssize_t\'." * commit '903871da7a7c71b8718133e60e2f0835837b5f3f': Fix compilation warning: incorrect format specifier for type 'ssize_t'.
|
83790fcce4f5cda1e7c89f1cbed452426502f227 |
|
28-Jun-2013 |
Glenn Kasten <gkasten@android.com> |
am bdf33c98: Merge "Fix compilation warning: incorrect format specifier for type \'ssize_t\'." * commit 'bdf33c98912090176183d3e9b9a9217dbbdca6da': Fix compilation warning: incorrect format specifier for type 'ssize_t'.
|
ad3af3305f024bcbbd55c894a4995e449498e1ba |
|
25-Mar-2013 |
Richard Fitzgerald <rf@opensource.wolfsonmicro.com> |
Public API changes for audio offload support. NOTE: this does _not_ include all private member variables added to classes as part of offload support. Only public/protected functions and stubs functions/variables needed to make the changes buildable. - isOffloadSupported() added to audio policy service A stub implementation is required to build, this always returns false - setParameters() added to IAudioTrack A stub implementation is required to build, this always returns INVALID_OPERATION - CBlk flag for stream end - Change AudioSystem::getRenderPosition() to take an audio_output_t so caller can specify which output to query - Add AudioSystem::isOffloadSupported() This is fully implemented down to the AudioFlinger function AudioPolicyServer::isOffloadSupported() which is just a stub that always returns false. - Add EVENT_STREAM_END to AudioTrack interface. STREAM_END is used to signal when the hardware has actually finished playing all the data it was sent. - Add event type enumeration to media player interface AudioSink callbacks so that the same callback can be used to handle multiple types of event. For offloaded tracks we also have to handle STREAM_END and TEAR_DOWN events - Pass audio_offload_info_t to various functions used for opening outputs, tracks and audio players. This passes additional information about the compressed stream down to the HAL when using offload. For publicly-available APIs this is an optional parameter (for some of the internal and low-level APIs around the HAL interface it is mandatory) - Add getParameters() and setParameters() API to AudioTrack Currently dummy implementations. - Change AudioPlayer contructor so that it takes a set of bitflags defining what options are required. This replaces the original bool which only specified whether to use deep buffering. - Changes to StageFright class definition related to handling tearing-down of an offloaded track when we need to switch back to software decode - Define new StageFright utility functions used for offloaded tracks Currently dummy implementations. - AudioFlinger changes to use extended audio_config_t. Fills in audio_offload_info_t member if this info is passed in when opening an output. - libvideoeditor changes required to add the new event type parameter to AudioSink callback functions - libmediaplayerservice changes required to add the new event type parameter to AudioSink callback functions Change-Id: I3ab41138aa1083d81fe83b886a9b1021ec7320f1 Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Eric Laurent <elaurent@google.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7d409691ed61f96bac6672b59f368cd3cc8ea2d8 |
|
28-Apr-2013 |
Scott Fan <fancp2007@gmail.com> |
Fix compilation warning: incorrect format specifier for type 'ssize_t'. warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t {aka int}' [-Wformat] Change-Id: I823835a26320a3abb82f8dff9fbe82e5132e7556 Signed-off-by: Scott Fan <fancp2007@gmail.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2799d743ee2ae5a25fe869a7f9c052acc029559f |
|
30-May-2013 |
Glenn Kasten <gkasten@google.com> |
Use sp<AudioTrack> instead of raw AudioTrack * This change prepares for the new implementation of AudioTrack client, which will require clients to use only sp<AudioTrack>, not raw AudioTrack *. A raw delete will cause a race condition during AudioTrack destruction. AudioTrack was made a RefBase by commit b68a91a70bc8d0d18e7404e14443d4e4020b3635 on 2011/11/15, when it was needed by OpenSL ES (for the callback protector). At that time, the only other client that was also converted from AudioTrack * to sp<AudioTrack> was android.media.AudioTrack JNI in project frameworks/base (file android_media_AudioTrack.cpp). Details: * Use .clear() instead of delete followed by = NULL. * ALOG %p need .get(). * sp<> don't need to be listed in constructor initializer, if initially 0. * Use == 0 for sp<> vs == NULL for raw pointers. * Use if (sp != 0) instead of if (raw). Change-Id: Ic7cad25795d6e862e112abdc227b6d33afdfce17
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f9bb8358e454be6dc88403171db7e0e182407f17 |
|
03-Jun-2013 |
Andreas Huber <andih@google.com> |
am b7319a7e: Update HTTP proxy configuration for all media playback inside stagefright. * commit 'b7319a7eb0a06ef4fd3a0c9157ee63e637ad7aa1': Update HTTP proxy configuration for all media playback inside stagefright.
|
b7319a7eb0a06ef4fd3a0c9157ee63e637ad7aa1 |
|
29-May-2013 |
Andreas Huber <andih@google.com> |
Update HTTP proxy configuration for all media playback inside stagefright. Change-Id: Ie0dd00045aba668d8b49da73224e7a7c9c04f69b related-to-bug: 8873723 (cherry picked from commit 2704965b8a1ff3b7450ff58ccecf86d8ec688c40)
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
6bc71cac3619b0a5bb70d87abded691f3f929e3b |
|
24-Apr-2013 |
Andreas Huber <andih@google.com> |
am 628a8c0e: Merge "fix a race condition of MediaPlayerServce::Client::mClient" * commit '628a8c0ed91531468f5c615fea8745f63cc812aa': fix a race condition of MediaPlayerServce::Client::mClient
|
aa47eb2e0560ade9e0d899e72d733bb6764973b6 |
|
24-Apr-2013 |
Andreas Huber <andih@google.com> |
Merge "fix a race condition of MediaPlayerServce::Client::mClient"
|
628a8c0ed91531468f5c615fea8745f63cc812aa |
|
24-Apr-2013 |
Andreas Huber <andih@google.com> |
Merge "fix a race condition of MediaPlayerServce::Client::mClient"
|
cc82dc6d500023eba6048616301a4b12682458db |
|
08-Feb-2013 |
Jeff Tinker <jtinker@google.com> |
Implementing MediaDrm APIs Change-Id: I9ff8eeb7d0c383b5c0c68cd54eb54ce7d2d22fe6
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b1e7cd156ca3e1747374e0d20cdd1ce467210453 |
|
15-Feb-2013 |
Mathias Agopian <mathias@google.com> |
Refactoring: Rename SurfaceTextureClient to Surface Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
279dcd89ab1d2de91dfe95e461412a0f577a6891 |
|
30-Jan-2013 |
Andreas Huber <andih@google.com> |
Plumbing to reflect minor changes in the HDCP module API that allow for support of _decryption_ modules in addition to what we already supported. Change-Id: Ic37b87dc170ba8def3817991d25df798f21e950b
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5570227ac334479982a9dd8c1647c00f58f47c18 |
|
21-Dec-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "Remove unnecessary parameter"
|
f37971f624164c3ed185d3f976404a6f60f49b9a |
|
03-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Remove unnecessary parameter Just get the parameter on server side Change-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
484566c410afdfbc4b6bc5aa1732aef37428a5b8 |
|
18-Dec-2012 |
Andy McFadden <fadden@android.com> |
Rename ISurfaceTexture and SurfaceTexture The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7da35f231725aa6e0b2ac8714a7d66471368df77 |
|
14-Nov-2012 |
Glenn Kasten <gkasten@google.com> |
Use size_t for frame counts Also fix typo: bufferCount should be frameCount. Change-Id: Ibed539504db75ef99dc21c8ff1bf2987122063a5
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1127d65d536ebbe447ee17ce0926a7ce4a2a3c08 |
|
14-Nov-2012 |
Glenn Kasten <gkasten@google.com> |
Use uint32_t for sample rate Change-Id: Ie240b48fb54b08359f69ecd4e5f8bda3d15cbe80
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
dcfefde6be8f9f33bbd2b3546f3be946d958d677 |
|
05-Nov-2012 |
beanz <beanz@marvell.com> |
fix a race condition of MediaPlayerServce::Client::mClient there will be race condition between mClient.clear in MediaPlayerServce::Client::disconnect method and c=client->mClient in in MediaPlayerServce::Client::notify method Change-Id: I767294c4cb864c08e9c0e9f23d6d304a39016205 Signed-off-by: beanz <beanz@marvell.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
45d76bb6c8f15335f89c287dbae04cc38f79d0a8 |
|
21-Sep-2012 |
Andreas Huber <andih@google.com> |
Remove legacy code and APIs in wifi display related code. Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
207e18540fefbaf530a4fdf506d266f34ddec84f |
|
21-Sep-2012 |
Andreas Huber <andih@google.com> |
Remove legacy code and APIs in wifi display related code. Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
59451f8ced48874427ff1550391c4f3cd2ba2e35 |
|
18-Sep-2012 |
Andreas Huber <andih@google.com> |
HDCP module binderized Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
efbb781c15abf8e085f5ab8d39710bd58ea0b6e4 |
|
18-Sep-2012 |
Andreas Huber <andih@google.com> |
HDCP module binderized Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
aba33d58ef6fe33210cc384b05cadf6ab8bac077 |
|
08-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add a permission for controlling wifi display. Change-Id: I321b6c1a0223e0c3d5df04fde7a13ab91c08c7bc
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b019250df516e094b0cb648851f9a132b045378a |
|
08-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add a permission for controlling wifi display. Change-Id: I321b6c1a0223e0c3d5df04fde7a13ab91c08c7bc
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5f7e55ea443c80ef8b6173efd1c2551e07309b0a |
|
24-Aug-2012 |
John Grossman <johngro@google.com> |
Add a small hook to support gapless in AAH. Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2e5f22e85d177b34e790f832789d03aee438a7db |
|
24-Aug-2012 |
John Grossman <johngro@google.com> |
Add a small hook to support gapless in AAH. Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ced24b36bbeed1ddd086a9304a9639c04ffe0962 |
|
06-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Update remote display API. Renamed disconnect() to dispose() to emphasize the fact that this method is intended to clean up the IRemoteDisplay completely, not just temporarily disconnect the current client (which might be useful someday). Other minor tweaks. Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
455d02eca342d8159637af317a5d83219d267812 |
|
06-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Update remote display API. Renamed disconnect() to dispose() to emphasize the fact that this method is intended to clean up the IRemoteDisplay completely, not just temporarily disconnect the current client (which might be useful someday). Other minor tweaks. Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
28169b107327b5db58877babf6993f0eb109c58a |
|
05-Sep-2012 |
Andreas Huber <andih@google.com> |
Expose an IRemoteDisplay to trigger wifi display connections setup and feedback. Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0b73d4730202fcad53aefc4314a06e7b95f442f0 |
|
05-Sep-2012 |
Andreas Huber <andih@google.com> |
Expose an IRemoteDisplay to trigger wifi display connections setup and feedback. Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2013a54981d4ffb036dff279b88cc9f08c0ee1c2 |
|
05-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Implement remote display service stubs. Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e104596061b219e9bce6d4db49a9d15242f8d2e5 |
|
05-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Implement remote display service stubs. Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ab1bd84889273bc21efdabe5ff6f4633eb918a85 |
|
30-Aug-2012 |
Andreas Huber <andih@google.com> |
Only run the wifi display RTSP server on demand, and only on the wifi direct interface. Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9 |
|
30-Aug-2012 |
Andreas Huber <andih@google.com> |
Only run the wifi display RTSP server on demand, and only on the wifi direct interface. Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
35213f1420c669f43314cb75eadea450d21a75cb |
|
29-Aug-2012 |
Andreas Huber <andih@google.com> |
Initial checkin of support for acting as a wifi display source Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d7bee3a9d2ad76d073d91f0ee36d5ac5f9df480c |
|
29-Aug-2012 |
Andreas Huber <andih@google.com> |
Initial checkin of support for acting as a wifi display source Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b8a9825bf0f5c74333b0e4ff5ba7677ac6fd2a25 |
|
27-Aug-2012 |
James Dong <jdong@google.com> |
Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() method o The mClient could be disconnected before the notify message is sent out. Use a local reference could help resolve this issue. o related-to-bug: 6782035 Change-Id: Ia2047bd7f2666100fed83c6e5417a3bf2e20cd2c
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
cb0b755efc2cd24703f400729994900bf2117f66 |
|
24-Aug-2012 |
John Grossman <johngro@google.com> |
Add a missing NULL check. Don't crash if its time to start the next media player in a media player chain, but the current player's client has a NULL mAudioOutput, as is the case when the low level player implements MediaPlayerHWInterface. Change-Id: If555da3a46960cbee91ff26e5b1fd05e52c8ef28
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
44a7e42f0310831e6a846d1b6bb40bf3a399bf6d |
|
22-Jun-2012 |
John Grossman <johngro@google.com> |
Add the ability to dynamicaly register MediaPlayer types. Add the ability to dynamically register low level MediaPlayer factories which will be probed at setDataSource time to determine the proper MediaPlayerBase to instantiate. This change is in preparation for moving libaah_rtp out of frameworks/base and into phantasm platform directory. Change-Id: Icf8904db3ab9e3c85df6e780d5546d9988cb9076 Signed-off-by: John Grossman <johngro@google.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d791e094da5698c787f8db28ca5d5d490c512cf1 |
|
12-Jun-2012 |
Marco Nelissen <marcone@google.com> |
Fix gapless for deep buffers Forward current flags to next output. b/6645676 Change-Id: I584f7a67472d99cbd6bc38f3fe84763331d115d1
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
67295b543c16ed7c77b67f859d598fe7b4571660 |
|
11-Jun-2012 |
Marco Nelissen <marcone@google.com> |
Fix gapless playback On some devices the actual framecount per buffer of an AudioTrack will be different than what was requested, which prevented the track from being reused. Now we create a new AudioTrack with the requested parameters, and then compare it to the track we already have. If they match, we throw away the new track and reuse the existing one. b/6644559 Change-Id: Id3e8c4460436f52e59b98ecaeb01c94f02877c1d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
73ac1eebff620714c6977f7342ff8dcc4858b3cf |
|
08-May-2012 |
Marco Nelissen <marcone@google.com> |
Use new sd card mount point for dumpsys b/6455962 Change-Id: I5c9f8c16c50587b25cafab03c48662e63855868e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1948eb3ea6eee336e8cdab9b0c693f93f5f19993 |
|
14-Apr-2012 |
Eric Laurent <elaurent@google.com> |
Add support for deep audio buffers Allow AudioSink to use deep audio buffering when the source is audio only and its duration is more than a certain threshold. This helps improve battery life but implies higher audio latency. Change-Id: Ie79915b61c370292f05aabda9779356570e03cbb
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0ca3cf94c0dfc173ad7886ae162c4b67067539f6 |
|
18-Apr-2012 |
Eric Laurent <elaurent@google.com> |
rename audio policy output flags Change-Id: I27c46bd1d1b2b5f96b87af7d05b951fef18a1312
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
99448608f375a7191c068c3bfd296f204b58a219 |
|
02-Apr-2012 |
Marco Nelissen <marcone@google.com> |
Allow AudioTrack to start at nonzero position When creating a new AudioTrack (not inheriting one from a previous play), the AudioSink should take the AudioTrack's position as the initial starting point for mBytesWritten, since otherwise NuPlayer's calculations will be off. Normally this position will be 0, but if the test code for 32 bit wraparound in AudioFlinger.cpp is enabled, it might be (much) larger. Change-Id: I1e4f906d529861c3dea996de8afc6dbd491589af
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1bd139a2a68690e80398b70b27ca59550fea0e65 |
|
03-Apr-2012 |
Andreas Huber <andih@google.com> |
New Crypto services talking to the new crypto "HAL". Change-Id: I69ed31e7a8b4d69d1209d2d516f94d258f072566 related-to-bug: 6275919
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4110c101c3d0dd8dbc44c8d2d0edd3e2e7d6652f |
|
29-Mar-2012 |
Marco Nelissen <marcone@google.com> |
Add gapless playback support for NuPlayer This makes NuPlayer use a SkipCutBuffer when needed, and adds a new AudioSink method to retrieve the number of frames written so far, so NuPlayerRenderer can calculate how much data it can write without blocking. Also make some more methods const. Change-Id: Id7d253ad8a7b85e9a84ca2baafbe32817b16c744
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
559bf2836f5da25b75bfb229fec0d20d540ee426 |
|
28-Mar-2012 |
James Dong <jdong@google.com> |
AV Android make files changes o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc o remove some runtime dependencies to libandroid, libandroid_runtime, etc Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ed3e3e046840d5bf1ca84a8c0cc097425e89d6d6 |
|
26-Mar-2012 |
Andreas Huber <andih@google.com> |
Provisional support for secure decryption of media streams. Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
afed0e1fa37473a4cd30018577b560acc79d9a3f |
|
21-Sep-2011 |
Andreas Huber <andih@google.com> |
Use NuPlayer for media playback everywhere if media.stagefright.use-nuplayer is set to true. Change-Id: Ibb217e7d7d5195b7feeea557554fe78e1585744c
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
17a736c3e1d062d7fc916329eb32aef8935614af |
|
14-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Update comments Change-Id: I327663a020670d0a72ff57bd0b682e2ce0528650
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ab334fd351ae5a0e18903da123d63e565b536874 |
|
14-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
audio_channel_in/out_mask_from_count and avoid ambiguous term "channels" where it might be confusing as to whether it is a channel mask or channel count Change-Id: I744fa08ccb6001a98c97bd638d2c9d56836c4234
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
36a4d2cc7a44eb42d0d9ef5fe50b6747a7a34cab |
|
13-Mar-2012 |
Marco Nelissen <marcone@google.com> |
Merge "Gapless playback, step 1."
|
6b74d671a1321a6ecc4a40b6c87beedfecc1ec44 |
|
29-Feb-2012 |
Marco Nelissen <marcone@google.com> |
Gapless playback, step 1. Currently able to play Ogg Vorbis, PCM WAV and other lossless files seamlessly by reusing the initial AudioTrack for subsequent players. Change-Id: Ie7cf6b9076bdf4f9211574456d192c02c04fecc7
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
18868c5db2f90309c6d11e5837822135e4a0c0fa |
|
07-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_policy_output_flags_t consistently This affects: - IAudioFlinger::openOutput - AudioTrack::AudioTrack - AudioTrack::set - apps that call these Change-Id: I26fb281bac6cb87593d17697bc9cb37a835af205
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
6556e5bb99bda64f3ab92e8b540fccdd59e9ed8d |
|
06-Mar-2012 |
Eric Laurent <elaurent@google.com> |
Merge "MediaPlayerService: fix AudioSink latency"
|
db354e58e65592777aa17caa47933e14838b8b35 |
|
06-Mar-2012 |
Eric Laurent <elaurent@google.com> |
MediaPlayerService: fix AudioSink latency The AudioSink latency is currently cached when the associated AudioTrack is created. However, the AudioTrack latency can change if the AudioTrack is moved from one output stream to another. The AudioPlayer must also periodically update its view of the latency as it is needed to compensate the real audio time used for A/V sync. This fixes an A/V sync problem seen when switching A2DP on and off while playing a video. Change-Id: I28b24049ca114e1af3e24791dcc900f463536ba4
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
786618ffe881aceb64d65a6a2e2d76ede6e01ec0 |
|
02-Mar-2012 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add channel mask in AudioSink Add support for specifying a channel mask when opening an AudioSink. This parameter does not replace the channel count parameter in order to not have to duplicate the logic to derive a mask from the channel count everywhere an AudioSink is used without a known mask. A mask of 0 (CHANNEL_MASK_USE_CHANNEL_ORDER) means a mask will be automatically derived from the number of channels. Update existing AudioSink implementations to use the channel mask, and users of AudioSink to specify the mask if available, and CHANNEL_MASK_USE_CHANNEL_ORDER otherwise. Change-Id: Ifa9bd259874816dbc25ead2b03ea52e873cff474
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
c795b64060c3af9d7961fc1371e4ccfa8ee3e450 |
|
23-Feb-2012 |
John Grossman <johngro@google.com> |
Switch the way we configure for MediaPlayer retransmission. This is a cherry-pick of I6ab07d89b2eeb0650e634b8c3b7a0b36aba4e7dd with merge conflicts addressed by hand and additional changes made in response to code review feedback. Move in the direction of a more publishable API for configuring a media player for retransmission. It used to be that we used a custom invoke and a modified URL (prefixed with aahTX://). There are many issues with this technique and it was never meant to stand the test of time. This CL gets rid of all that. A new (but currently hidden) method was introduced to the java level MediaPlayer API, called setRetransmitTarget(InetSocketAddress), which allows an app writer to set the retransmit target. For now, this method needs to be called before a call to setDataSource (which is pretty unusual for the MediaPlayer API) because this mid level code uses this as a cue to instantiate an aahTX player instead of relying on the data source to select a player. When retranmit functionality becomes part of the existing android player implemenation, this set-retrans-before-set-data-source behavior can go away, along with the aahTX player itself. Change-Id: I3b46c5227bbf69acb2f3cc4f93cfccad9777be98 Signed-off-by: John Grossman <johngro@google.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
761defc341c5ce9019a42919c441f035f665ec0d |
|
10-Feb-2012 |
John Grossman <johngro@google.com> |
Upintegreate AAH TX and RX players from ICS_AAH Upintegrate the android at home TX and RX players developed in the ICS_AAH branch. Change-Id: I8247d3702e30d8b0e215b31a92675d8ab28dccbb Signed-off-by: John Grossman <johngro@google.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7a8b0ed6419e57dd8b41d3806893d63d3df91aab |
|
02-Feb-2012 |
Jean-Michel Trivi <jmtrivi@google.com> |
Playback rate on MediaPlayer Add support for modifying the playback rate of a MediaPlayer by altering the sample rate of its AudioTrack. The playback rate is expressed in permille, where 1000 is the playback at normal speed. Change-Id: I981d060ab32f7bae7a767e82c60c88ae635dceed
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fff6d715a8db0daf08a50634f242c40268de3d49 |
|
13-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_stream_type_t consistently At native level it was a mixture of audio_stream_type_t, int, uint32_t, and uint8_t. Java is still int. Also fixed a couple of hard-coded -1 instead of AUDIO_STREAM_DEFAULT, and in startToneCommand a hard-coded 0 instead of AUDIO_STREAM_VOICE_CALL. Change-Id: Ia33bfd70edca8c2daec9052984b369cd8eee2a83
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4cc55d53d542c4f4ed645738cebb65b9e7eb6c44 |
|
12-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "Use audio_format_t consistently"
|
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5ff1dd576bb93c45b44088a51544a18fc43ebf58 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e1c3962e268ffc12bfd1bd9ea84da1f135f36960 |
|
04-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_format_t consistently Was int, uint32_t, uint16_t, and uint8_t with 2-bit bitfield. Also replace 0 by AUDIO_FORMAT_DEFAULT and replace 1 by AUDIO_FORMAT_PCM_16_BIT. Change-Id: Ia8804f53f1725669e368857d5bb2044917e17975
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b8a805261bf0282e992d3608035e47d05a898710 |
|
20-Dec-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
471af5aaea2d2491a77dba379771f7c96b9ca3c3 |
|
08-Nov-2011 |
Andreas Huber <andih@google.com> |
resolved conflicts for merge of 26f70db9 to master Change-Id: Ib1536b1a4c9eeff80e0726b3e61cee12057cd120
|
3901e5d87573447db33fb9930871a1f5266a9b2c |
|
25-Oct-2011 |
Andreas Huber <andih@google.com> |
Remove surface legacy APIs and code. All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4b8bb4ee7d1d64dc1cd5478a3772f97e4a4a00d7 |
|
28-Oct-2011 |
Jamie Gennis <jgennis@google.com> |
am fc9592f8: am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0 * commit 'fc9592f8a5f2f75207e5e532655ac294eb2b334b': Stagefright: ANW::connect in MediaPlayerService
|
262620399c228b3b201c2c4b39c87508d3047d74 |
|
28-Oct-2011 |
Jamie Gennis <jgennis@google.com> |
am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0 * commit '08479ceeba56c460fb52f60a24df27776f1936c3': Stagefright: ANW::connect in MediaPlayerService
|
7dae00baa6e8957be15523c46bb948bd1dde64c3 |
|
27-Oct-2011 |
Jamie Gennis <jgennis@google.com> |
Stagefright: ANW::connect in MediaPlayerService This change moves the ANativeWindow connect and disconnect logic from MediaPlayer to MediaPlayerService::Client. Bug: 5502654 Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
3856b090cd04ba5dd4a59a12430ed724d5995909 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d24bac2f9e83d3dbc0ef9d2aae3b8ad8e4d2b731 |
|
20-Oct-2011 |
James Dong <jdong@google.com> |
am b3cdadb6: Merge "Check whether media recorder client exists before dumping." into ics-mr0 * commit 'b3cdadb639027f62c7c1637ca962a70d2d1f3b4d': Check whether media recorder client exists before dumping.
|
e579e28089c6b86f56d257030b778c5e22b1a5a5 |
|
19-Oct-2011 |
James Dong <jdong@google.com> |
Check whether media recorder client exists before dumping. Change-Id: I1f3a644a958975e4cf6c02099c53e30cc4d2fd82 related-to-bug: 5477177
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2bfdd428c56c7524d1a11979f200a1762866032d |
|
12-Oct-2011 |
Andreas Huber <andih@google.com> |
NuPlayer is now taking on the task of streaming over RTSP. Change-Id: Ie204db8810807f1e7981959e34dc0149e5d9563a
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9cb839a0fcc98fe4278b39afb8b6d664c04f1673 |
|
27-Sep-2011 |
Eric Laurent <elaurent@google.com> |
Fix issue 5373048: AudioCache decode errors When decoding a file for the SoundPool, do not reject the entire file in case of error but return what was decoded so far instead. Change-Id: Iff199a1b6a4c8e064e42a0dfe0704e0ae36a27fd
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d681bbb1767bed09415e050ba78975df214bcd68 |
|
30-Aug-2011 |
Dave Burke <daveburke@google.com> |
Require INTERNET permission for network-based content. Bug #1870981 Change-Id: Ia3ad166390c4d60cea19c3783895b078a2c4c15f
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
db29e5238e28d59978755a2ff2e7e0f05393abdf |
|
12-Aug-2011 |
Jason Simmons <jsimmons@google.com> |
Add a null check to handle failure of android::createPlayer Change-Id: Id56bd0c16104e46d8dc71f13d8a44aefe251fad4
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
a23456b306f35b9ecf973bf5818ca39295e9e029 |
|
08-Jul-2011 |
Ashish Sharma <ashishsharma@google.com> |
Network traffic accounting for chromium stack support in mediaserver. - Atribute network activity to uid calling the mediaplayer - Enables logging of chromium network stack in logcat Change-Id: I2d28c8392248a056b3cee305dd4d4475ebba4337
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9b80c2bdb205bc143104f54d0743b6eedd67b14e |
|
01-Jul-2011 |
Andreas Huber <andih@google.com> |
Charge network traffic to the uid of the process using the MediaPlayer. Change-Id: I2bcb54b8232afd3fc7ee16289f37c7a7b3f23067 related-to-bug: 4517282
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
a0b1d4b161599c2bb2a47119e50c51e75bbe980e |
|
08-Jun-2011 |
Andreas Huber <andih@google.com> |
Make dumpsys(media.player) more useful by having AwesomePlayer populate it. Change-Id: I12ba7d542331a8293d67a0d47378b8be4f777759
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0512ab559d4670c2204078470d7ef5d376811c57 |
|
05-May-2011 |
Glenn Kasten <gkasten@google.com> |
Remove dead code related to gettid The gettid system call is always available now. Change-Id: Ib78b41781eda182dc8605daf456bbea7ff7c2dc0
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d217a8c4632b3e3065f8c2a26b9ce4dc4c97171f |
|
02-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Revert "Use AudioTrack::event_type not int in callback" This reverts commit 2225e4b7049fa3fb9d39a068b8268b63c952d7c1
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
013b5a67d6f8e12a1b06e74863daec1bee4d99c1 |
|
05-May-2011 |
Glenn Kasten <gkasten@google.com> |
Use AudioTrack::event_type not int in callback Change-Id: Ifefc708d46874e04fd0d01cb6e2d43b987ee796c
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0d255b2d9061ba31f13ada3fc0f7e51916407176 |
|
25-May-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Use channel mask instead of channel count for track creation Record and playback objects (resp AudioRecord and AudioTrack) are created using a channel mask, but this information is lost in the mixer because only the channel count is known to AudioFlinger. A channel count can always be derived from a channel mask. The change consists in: - disambiguiting variable names for channel masks and counts - passing the mask information from the client to AudioFlinger and the mixer. - when using the DIRECT ouput, only verifying the format of the track is compatible with the output's for PCM. Change-Id: I50d87bfb7d7afcabdf5f12d4ab75ef3a54132c0e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
64760240f931714858a59c1579f07264d7182ba2 |
|
11-May-2011 |
Dima Zavin <dima@android.com> |
update for new audio.h header location Change-Id: Ic4c62c4037800802427eb7d3c7f5eb8b25d18876 Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4f9e47f2c03ce36261c4717cd7e131d7940bb068 |
|
26-Apr-2011 |
Gloria Wang <gwang@google.com> |
Add setParameter/getParameter to MediaPlayer API. for bug 1982947 Change-Id: If3f40e4f18cbba155af29944af38bdc627f8cd53
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fce7a473248381cc83a01855f92581077d3c9ee2 |
|
20-Apr-2011 |
Dima Zavin <dima@android.com> |
audio/media: convert to using the audio HAL and new audio defs Change-Id: Ibc637918637329e4f2b62f4ac7781102fbc269f5 Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b483c4724846c0b8d4e82afcbb7c17f671bae81c |
|
12-Apr-2011 |
Gloria Wang <gwang@google.com> |
- Add another parameter in notify() to be able to send timed text sample through listener during video playback. - Add OnTimedTextListener in the MediaPlayer For feature request 800939. Change-Id: I65072c27acb4c0037109a72be38c73e9f667420f
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
51c1e0e86a0ad95bf3d890a9a2f51e54b8ef9444 |
|
04-Apr-2011 |
Andreas Huber <andih@google.com> |
This reverts an earlier change 4aeec2da39fce4de9b07b694d59fd308ffb3d491 Instead of returning 0-filled buffers after EOS from AudioTrack we do this work in AudioOutput instead. That way the EOS signal (0 frames returned) is preserved in AudioCache which otherwise would lead to a heap size overflow filling everything with zeroes. Change-Id: I7e07429ba887957a4340dd4b21eef4bba76248cd related-to-bug: 3514073
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0a73d81f213fb2d6f2fdd59c4dda047bf453bb1c |
|
22-Mar-2011 |
Andreas Huber <andih@google.com> |
Enable http-live support for https:// urls, fix a parsing issue. Change-Id: I2284e1d62babde7f739fba6a3cb4e2619f0e62f9 related-to-bug: 4148291
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
8635b7b095fbf7ffc63d3ce791891a9116ace1f6 |
|
15-Mar-2011 |
James Dong <jdong@google.com> |
Add memory leak tracking/debugging code to drm server bug - 4099038 Change-Id: I6c048eaf3d7f34bc144b8daaa5fdef1ed474af66
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
9ee159b79022b2e1a050acb3890ce948e99e9ccb |
|
24-Feb-2011 |
Gloria Wang <gwang@google.com> |
- To track the usage of all audio output devices - To track the currently used audio device - The devices are separated as speaker and other audio devices - Provide the collected data to battery application through pullBatteryData() Change-Id: I374c755266b5ac6b1c6c630400f4daf901ea8acc
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1173118eace0e9e347cb007f0da817cee87579ed |
|
09-Feb-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3438258 Add SurfaceTexture as MediaPlayer sink This change enables the use of a SurfaceTexture in place of a Surface as the video sink for an android.media.MediaPlayer. The new API MediaPlayer.setTexture is currently hidden. This includes: - New Java and C++ interfaces - C++ plumbing and implementation (JNI, Binder) - Stagefright AwesomePlayer and NuPlayer use ANativeWindow (either Surface or SurfaceTextureClient) Change-Id: I2b568bee143d9eaf3dfc6cc4533c1bebbd5afc51
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7cf180c9bff69e5cc4a2f4e53b432db45ebbebab |
|
20-Feb-2011 |
Gloria Wang <gwang@google.com> |
- Add method in MediaPlayerService to collect and pull codec usage (duration) for the battery app - Collect MediaPlayer decoding usage data Change-Id: I0ef4e32b6a041ba1fe73c19f9c67185c61d03965
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ed8d14f6a934072cd012992c4ef16990a54baa9a |
|
16-Feb-2011 |
Andreas Huber <andih@google.com> |
Remove legacy, AwesomePlayer-based http live implementation. Change-Id: I455d0faa5612dcd4d2bb6f2b3c7b64a1caaabf69
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4b197e1ffe46eb73ebdb80efc984bfde336b8e92 |
|
06-Jan-2011 |
Andreas Huber <andih@google.com> |
Use NuPlayer for HTTP live streaming playback by default. Reversed the property logic, set media.httplive.disable-nuplayer to true to revert Change-Id: I1057940667aaab56bb75c9ea15c2cdcab736f3c6
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5bc087c573c70c84c6a39946457590b42d392a33 |
|
23-Dec-2010 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit eaeaa2672d4e0a82891493b2bde8bdd0c0e79a1b Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:26:48 2010 -0800 Remove lowest bandwidth stream if using the legacy player. Change-Id: I2f885e26344996de9152f8fda9fd6bdef89bf953 commit 7d652972615b2750fd8f1c21b9fab0e136df2b82 Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:14:36 2010 -0800 Don't clear the packet source's format for legacy discontinuities. Change-Id: I9bd5a21b9bd28043ad38bd0658ccc8eda3c1079a commit 2b18a45aac17cbfe1aa089d0f6510957d438dd64 Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:13:55 2010 -0800 Use NuPlayer for HTTP live streaming based on runtime property. adb shell setprop media.httplive.enable-nuplayer true Change-Id: I22738df3403985dc8e6992b1ab5da5747309f773 commit 50d899fb7b9ea52c3994b0a58e993998d926aeed Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 16:25:22 2010 -0800 Make ACodec a lot less verbose. Change-Id: I94c7e499b61032321ffaf999f5ad2c913cde6a48 commit b19e1740cb4d02990a56844654b5d019987c6405 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 16:22:22 2010 -0800 Wait until we have fresh codec-specific-data before instantiating the decoders after a discontinuity involving a format change. Change-Id: I7bcf9b5ae3319f08bf8978a117e8ee5220902e37 commit 06428c006906c9099e430aface3b439ff1d36ecc Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 15:20:38 2010 -0800 Disable random seeks in the streaming tool for now. Change-Id: Ie86fde422dcfc4b2c7a01be51a193fda9c88cd71 commit e19db68f3bea8a61c191f60f6940f30e3a0d5f1b Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 15:20:27 2010 -0800 Tweak HTTP live parameters. Change-Id: If4b71e12485facc523a8a43d8213d0feb190daab commit 1e9942791538c2256b579d96c6c04264b0d8b087 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 14:48:23 2010 -0800 Enable http live streaming through NuPlayer for http URLs containing the string m3u8 Change-Id: I1691fe12ae8f1507fe3673313959cd50bc324624 commit 4c33f96a6e499ee0efe0e70b687094430cb7c1c0 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 14:40:27 2010 -0800 Support for HTTP live streaming in NuPlayer. Change-Id: Iacba1c3ebaeb8d3b972185deaf4cff18c8009c54 commit ddf705ce553708bc5b13d89a878484cf839bd674 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 13:42:47 2010 -0800 StreamingSource now a subclass of abstract NuPlayer::Source Change-Id: Ia6c7c639628910b9d1f37decc55da48b07a70de3 commit 9e04a8406b1882a8e3fdeb7b4d52db5ae70b970a Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 13:33:52 2010 -0800 Refactor media data sourcing to NuPlayer::Source. Change-Id: I1db9fb08c4e527bf7b19c29978cf342c2b0a0bc9 Change-Id: I9610a097481dda58f22142eacda3ac2dba0b63f9
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f933441648ef6a71dee783d733aac17b9508b452 |
|
16-Dec-2010 |
Andreas Huber <andih@google.com> |
Initial support for a true streaming player for mpeg2 transport streams. Change-Id: I153eec439d260a5524b21270e16d36940ec3161a
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e2b1028852120bcfded33b8f06f66b780437fe92 |
|
23-Nov-2010 |
Andreas Huber <andih@google.com> |
Support streaming data across binder boundaries. Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0a5ca668c6f7d45706e9aec4a1dfec0aacc6d233 |
|
16-Nov-2010 |
Andreas Huber <andih@google.com> |
Remove all traces of legacy renderer support in stagefright. Change-Id: I17b8e0dbf53fca37c96830c41131b4bc0c24ca6d
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
30d713a1c18a5ff892a7f13b2524ba624b70890a |
|
11-Nov-2010 |
James Dong <jdong@google.com> |
Remove legacy PV stuff Change-Id: I60ffea7c65592df4b3a80c590c863f1f79b371fd
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
05ea6434ed399395e2dbe9f68abb44f04b274cb0 |
|
29-Oct-2010 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 0d5694ba2d399dd0869532a4d6256448185a1be0 Author: Andreas Huber <andih@google.com> Date: Fri Oct 29 11:59:23 2010 -0700 suspend() and resume() methods on VideoView are back but don't do anything. They need to be back because they were public before. Change-Id: Iddfd1021ffcf341f26e8d55ba761fd33701e2425 commit 16192891ed7d349ee97e47d1729d20a2d0d247b8 Author: Andreas Huber <andih@google.com> Date: Fri Oct 29 11:47:05 2010 -0700 Revert "New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming." This reverts commit 2e1818a4d16c3309660f27286c77d8d1eee95a25. Conflicts: api/current.xml Change-Id: I68dd1d05871044faf3f832d0838aa40bc7f890e5 commit 8f934dc1a3ae4e60f0790fcf97671e063fa20fad Author: Andreas Huber <andih@google.com> Date: Fri Oct 29 11:44:16 2010 -0700 Revert "Release mediaplayer if the current state is not suspending. Fix for bug 2480093." This reverts commit efb882cf75eef39ecaf9f8920ed302a019fa629f. commit f2ed03550887986f39d36b5dabcd9e919949c7cf Author: Andreas Huber <andih@google.com> Date: Fri Oct 29 11:44:08 2010 -0700 Revert "Release MediaPlayer if suspend() returns false." This reverts commit 047212fd4ea360675e94d3ce83c7f5544f65b268. commit 441ecce678bd24e9660a72c8627b5bd94433ff8b Author: Andreas Huber <andih@google.com> Date: Fri Oct 29 11:40:46 2010 -0700 manually. Change-Id: I4fdd43c9f7c8b3eedddb31a196da4984e1c58e87 Change-Id: I60d4b10e7a9e4ed8d9a796f1711618f557eb6e89
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2eeadf9ded4b5770a713496e9887d668889987bc |
|
11-Oct-2010 |
Eric Laurent <elaurent@google.com> |
am 4f21e517: am b37fcbfd: Merge "Added getter for session Id to AudioSink" into gingerbread Merge commit '4f21e517d09b9d793d20d64547df330fba705b3c' * commit '4f21e517d09b9d793d20d64547df330fba705b3c': Added getter for session Id to AudioSink
|
8c563ed9ca8a863a66965330b5d14bb4b4ab59d4 |
|
08-Oct-2010 |
Eric Laurent <elaurent@google.com> |
Added getter for session Id to AudioSink Added a method to expose the audio session id at AudioSink interface so that the AudioPlayer in stagefright can retrieve it. Also: - Fixed audio effect send level not being initialized in mediaplayer. - Fixed compilation error when LOGV is enabled in mediaplayer JNI Change-Id: I4bb55454fd63d646e0e677692d737c4843fb05fb
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
51be6db7d0e802b3f5d067e39e543ae4f09ed01c |
|
28-Sep-2010 |
Dave Sparks <davidsparks@android.com> |
am 7dff9dfd: am 269dea1c: Merge "Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669. The dump function whitelists several directories as filters to the output. The mount point changed for SD card in Froyo, and we started filtering files that w Merge commit '7dff9dfd6176fad1318a27f16318561453a429f0' * commit '7dff9dfd6176fad1318a27f16318561453a429f0': Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669.
|
02fa834249a01144d6f23137951538600aa5d611 |
|
28-Sep-2010 |
Dave Sparks <davidsparks@android.com> |
Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669. The dump function whitelists several directories as filters to the output. The mount point changed for SD card in Froyo, and we started filtering files that were open on the SD card. This fix changes the filter for the SD card, and adds the directory for data files as well. Change-Id: I61b67c3d11d93dbd530e8b3566000e79bc037137
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
dd0f7a7127fdb04863b4ad66d2b846ee94358314 |
|
30-Aug-2010 |
Andreas Huber <andih@google.com> |
am 9aa05ec2: am 681c5ff2: Merge "Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore." into gingerbread Merge commit '9aa05ec2cd6bc592074c7bd08d22db46649c7f12' * commit '9aa05ec2cd6bc592074c7bd08d22db46649c7f12': Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore.
|
a1ffe49c7d537bf2a16fc3eb32b0ecc6d72bdf8a |
|
30-Aug-2010 |
Andreas Huber <andih@google.com> |
Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore. Change-Id: I1ca6bd8faba0185f9694f9dc04d2b3e6a7ab5ac3 related-to-bug: 2370115
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5daeb129a2c2ba3d14ccd94af283b5f561c783ea |
|
16-Aug-2010 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 35cc68814a9537c31fde146e171e7b0bbdfe211e Author: Andreas Huber <andih@google.com> Date: Mon Aug 16 08:48:42 2010 -0700 Only enable support for yuv to yuv conversion on passion, where it's available, use the slower yuv->rgb565 path everywhere else. commit d8ac5a8814103e60d11d2acf61997fc31a1dc58d Author: Andreas Huber <andih@google.com> Date: Fri Aug 13 13:56:44 2010 -0700 The software renderer takes over all rendering, converting from yuv to yuv if possible and rgb565 otherwise. commit 684972074b74318bdcb826ed9b5b0864d2d2e273 Author: Andreas Huber <andih@google.com> Date: Fri Aug 13 09:34:35 2010 -0700 A first shot at supporting the new rendering APIs. Change-Id: Iea9b32856da46950501f1a700f616b5feac710fd
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2beeb50b1bba9e92f6cacfeca37fe9fa9d36ead1 |
|
16-Jul-2010 |
Eric Laurent <elaurent@google.com> |
Added support for auxiliary audio effects to AudioTrack and MediaPlayer. Added methods to AudioTrack and MediaPlayer java classes to enable use of auxiliary audio effects. The effect can be attached and detached by specifying its ID and the send level controlled. Change-Id: Ie74ff54a453096a742688476f612ce355543b6f3
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b914122eb9cb54bbeae4ec03bfebb194aecdccbd |
|
08-Jul-2010 |
James Dong <jdong@google.com> |
Add runtime dumpsys support for media recorder client Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
da7581b7b61b84f15e8d671c86fd117c322b009e |
|
02-Jul-2010 |
Eric Laurent <elaurent@google.com> |
Added Visualizer effect. The visualizer enables application to retrieve part of the currently playing audio for visualization purpose. It is not an audio recording interface and only returns partial and low quality audio content as a waveform or a frequency representation (FFT). Removed temporary hack made in MediaPlayer for animated wall papers based on audio visualization (snoop() method. This commit also includes a change in AudioEffect class: - the enable()/disable() methods have been replaced bya more standard setEnabled() method. - some fixes in javadoc Change-Id: Id092a1340e9e38dae68646ade7be054e3a36980e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
608d77b1cf4fb9f63dc861e4e1fa3e80a732f626 |
|
24-Jun-2010 |
Andreas Huber <andih@google.com> |
Remove most stagefright property overrides, remove VorbisPlayer and VorbisMetadataRetriever as this functionality is now provided by stagefright. Change-Id: Ieafe75a4550c273ad59b4518d7cd4c0fce0f7cce related-to-bug: 2370115
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
a514bdb58b5de4986679f72b7204b4764f7a2778 |
|
21-Jun-2010 |
Eric Laurent <elaurent@google.com> |
Added support for audio sessions in MediaPlayer and AudioTrack. Audio sessions are used to associate audio effects to particular instances (or groups) of MediaPlayers or AudioTracks. Change-Id: Ib94eec43241cfcb416590f435ddce7ab39a07640
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
cf7b9c7aae758ac0b99833915053c63c2ac46e09 |
|
08-Jun-2010 |
Andreas Huber <andih@google.com> |
Initial checkin of preliminary rtsp support for stagefright. Change-Id: I0722aa888098c0c1361c97a4c1b123d910afc207
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2e90514be4c98b5fa6e1df5f2049a5e005a4263d |
|
14-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 1d628c5d: merge from open-source master Merge commit '1d628c5d3dd7998b29c339292a2dc391015d0782' into kraken * commit '1d628c5d3dd7998b29c339292a2dc391015d0782': Accept media files by file extension in case insensitive manner.
|
4ac3585263ad59def5cf14756347cecab43e6e67 |
|
14-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I934cf85c4673f9ca3a9549c2074907ad572310f4
|
3830a4f133893e6a77a967c84220d7baf9687f23 |
|
04-May-2010 |
Andreas Huber <andih@google.com> |
am 8ea45aad: am e083d0a2: Merge "Support for Ogg Vorbis decoding in stagefright." into froyo Merge commit '8ea45aad100ee25067b2e83703454c71a968ba4f' into kraken * commit '8ea45aad100ee25067b2e83703454c71a968ba4f': Support for Ogg Vorbis decoding in stagefright.
|
3cf4e43cdd391502690c07e08e805aa8ff5db0c0 |
|
04-May-2010 |
Andreas Huber <andih@google.com> |
Support for Ogg Vorbis decoding in stagefright. Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright. Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8 related-to-bug: 2654400
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4acdadbd8195f4fb21ff4cb72f09f088097ddf3b |
|
14-Apr-2010 |
James Dong <jdong@google.com> |
am 6852b198: am d3d445b1: Merge "Use PV_PLAYER to handle RTSP streaming" into froyo Merge commit '6852b198fbedd9378ed79ca6528a4d6f33b0b677' into kraken * commit '6852b198fbedd9378ed79ca6528a4d6f33b0b677': Use PV_PLAYER to handle RTSP streaming
|
27fde958c8e8e6a998ec7a28d32b0aad97662dee |
|
14-Apr-2010 |
James Dong <jdong@google.com> |
Use PV_PLAYER to handle RTSP streaming bug - 2594865 Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fe774a9c3ffe12979e182563b0e922ffc0ad20ef |
|
05-Apr-2010 |
Andreas Huber <andih@google.com> |
Remove legacy NO_OPENCORE code bypass from MediaPlayerService. Change-Id: I72db73c91673e0d7f1090e3b033ae915337dc16e
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fc1c7b940c84793ad262a345af117c482a86acec |
|
19-Mar-2010 |
Atsushi Eno <atsushieno+android@gmail.com> |
Accept media files by file extension in case insensitive manner. Change-Id: I8e246010c96802ae87960797607fc8f8f2ab6031
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fe4c6f01646de47d41bbe3aa6d17c6a0daa2b730 |
|
02-Mar-2010 |
Dave Sparks <davidsparks@android.com> |
Fix build. I screwed up a merge.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4bbc0ba371c52951191eff1cba7c1ea5d27ee976 |
|
02-Mar-2010 |
Dave Sparks <davidsparks@android.com> |
Add locking to signal in AudioCache::notify(). Bug 2317844.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1edee16200cb377b7862b30aa5c387d9686023db |
|
25-Feb-2010 |
James Dong <jdong@google.com> |
Add some space and total memory amount to the memory dump from the media server process.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2e8ffaf95bd35358ecd14ddf00cddaf3abefe0a9 |
|
19-Feb-2010 |
Andreas Huber <andih@google.com> |
Implement legacy behaviour for MediaPlayer's behaviour of starting from the start of the media on a start() call instead of resuming at the current position, if previously reached the end of the stream. Also properly report number of frames played to audio flinger. Finally, delay spawing the queue thread until actually used. related-to-bug: 2453220
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4e92c7efc68b5d7635a32dbd283ab8558ad9bdd6 |
|
12-Feb-2010 |
Andreas Huber <andih@google.com> |
New API on java's MediaPlayer to suspend/resume a session. related-to-bug: 2231576
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7d5b8a70c28c0d5746a600467b2887822dbff88e |
|
10-Feb-2010 |
Andreas Huber <andih@google.com> |
Implementation of stagefright-enabled MediaPlayerService::decode functionality related-to-bug: 2359268
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2db8455d8f4468a637109d31f319ce02d9d743ec |
|
28-Jan-2010 |
Andreas Huber <andih@google.com> |
API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played. related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
342e9cf388cceb807def720e40e8b0a217f4bcaa |
|
20-Jan-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync Added getRenderPosition() API to IAudioFlinger to retreive number of audio frames written by AudioFlinger to audio HAL and by DSP to DAC. Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames written by DSP to DAC. Exposed AudioTrack::getPosition() to AudioSink() to make it available to media player. Removed excessive log in AudioHardwareGeneric.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
b49676a55e7dce9710e1a10749a26997513c5ceb |
|
21-Jan-2010 |
Andreas Huber <andih@google.com> |
Special-case .wmv and .wma metadata retrieval and playback to use PV if available. related-to-bug: 2381874
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7ee8ac94bb1a724a481a7cddf10ce63d35df6296 |
|
12-Jan-2010 |
Marco Nelissen <marcone@google.com> |
b/2353646 Fix music visualizations to also work with audiotrack callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
f1350fdb125e1069f867ba13190c5c8e7b64e9b8 |
|
05-Jan-2010 |
Andreas Huber <andih@google.com> |
Use stagefright for http streaming if the right property is set.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
47945ea184f62def4c5a1dd15164cfa3fd286882 |
|
17-Dec-2009 |
Andreas Huber <andih@google.com> |
Disable HTTP playback and metadata support in stagefright, use PV instead.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0a2b8e6424d1b027fb188ba0bd290fedff34b0f5 |
|
11-Dec-2009 |
Dave Sparks <davidsparks@android.com> |
am 14f89404: Fix media player decode function. Bug 2317821. Merge commit '14f8940472217e8b0164d8f213679710d623d528' into eclair-mr2 * commit '14f8940472217e8b0164d8f213679710d623d528': Fix media player decode function. Bug 2317821.
|
8eb8011120a68a86199b9960cf1ae91a6ddc7e6d |
|
10-Dec-2009 |
Dave Sparks <davidsparks@android.com> |
Fix media player decode function. Bug 2317821. There was a recent change to OpenCORE that broke the MediaPlayer::decode() function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The affect is that SoundPool is unreliable for all of these formats. This patch changes the logic in the AudioCache object that processes messages from the media player. The old logic was fragile. This change should make it more robust against changes.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1d711f67ffb3ea73aca155537e0f21b444251158 |
|
03-Dec-2009 |
Dave Sparks <davidsparks@android.com> |
Remove old hack A/V sync hack that is no longer needed.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5b65c7043dada0c89d3a941742666ac40ea35746 |
|
05-Nov-2009 |
Andreas Huber <andih@google.com> |
DO NOT MERGE: Squashed commit of the following: commit 08259dd3dc9026887f9bbfedaf45866eb56ea9bc Author: Andreas Huber <andih@google.com> Date: Thu Nov 5 12:02:31 2009 -0800 DO NOT MERGE: Use PV for metadata extraction even if stagefright is used for playback. commit 991832fe4dc012e51d3d9ed8d647c7f09991858f Author: Andreas Huber <andih@google.com> Date: Thu Nov 5 11:24:11 2009 -0800 DO NOT MERGE: Do not assert if we encounter OMX_StateInvalid. All bets are off though. commit cec45cf302d9218fe79956cbe8a462d7ca3a10bb Author: Andreas Huber <andih@google.com> Date: Mon Oct 26 16:11:54 2009 -0700 DO NOT MERGE: When freeing an OMX node, attempt to transition it from its current state all the way to "Loaded" in order to properly free any allocated buffers. commit 34a1e885ef9113d68acbc26d36fcc47fdebbed84 Author: Andreas Huber <andih@google.com> Date: Thu Nov 5 11:10:49 2009 -0800 DO NOT MERGE: Fix heap corruptin in OMXNodeInstance. commit 5a47f7439a1298b330541a7e4e647a8b44487388 Author: Andreas Huber <andih@google.com> Date: Thu Nov 5 11:08:19 2009 -0800 DO NOT MERGE: Fix seek-on-initial-read behaviour of OMXCodec. commit 45bed64722501b9f411a2940aff5aff4cc4d2e98 Author: Andreas Huber <andih@google.com> Date: Thu Nov 5 11:02:23 2009 -0800 DO NOT MERGE: Renaming string.h to stagefright_string.h to avoid conflicts. commit 6738e306a50196f31a73d4fc7b7c45faff639903 Author: Andreas Huber <andih@google.com> Date: Thu Oct 15 13:46:54 2009 -0700 DO NOT MERGE: Reimplement the OMX backend for stagefright. Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup. Changed APIs to conform to the rest of the system.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
076667f9624516f9c65d5d4d7571ef5522237229 |
|
02-Nov-2009 |
Marco Nelissen <marcone@google.com> |
am 1d9246e8: Merge change Id095e180 into eclair Merge commit '1d9246e8bb8de624e14c55dce57e93da18cfd7a8' into eclair-mr2 * commit '1d9246e8bb8de624e14c55dce57e93da18cfd7a8': Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.
|
6741eb86bf54bee6a0875e4f7a825d5d0de5c23a |
|
02-Nov-2009 |
Marco Nelissen <marcone@google.com> |
Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
8d8380ccea24aed511f96ecb9282b0d2c3331d10 |
|
30-Oct-2009 |
Gloria Wang <gwang@google.com> |
am 3a814141: Merge change Iee0486e2 into eclair Merge commit '3a8141416a0b1d517d4729eba4bcf914c468e20b' into eclair-mr2 * commit '3a8141416a0b1d517d4729eba4bcf914c468e20b': Dump media recorder PID in dumpsys media.player, and fix minor bugs.
|
dac6a31a33ba53fb93850670cdddd1e6515dadce |
|
29-Oct-2009 |
Gloria Wang <gwang@google.com> |
Dump media recorder PID in dumpsys media.player, and fix minor bugs.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
1eea7f529c1c25901a7749fed4792ed68379d841 |
|
27-Oct-2009 |
Andreas Huber <andih@google.com> |
Use a simple replacement for String8 that allocates its storage beforehand to avoid reentering the heap while we're examining it (leak checker).
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
318ad9c1d9d6515026dfc2c021359d27decaa7a1 |
|
15-Oct-2009 |
Andreas Huber <andih@google.com> |
Reimplement the OMX backend for stagefright. Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup. Changed APIs to conform to the rest of the system.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
10dbb8e97e7a81ca4867663b5517f048820b3094 |
|
20-Sep-2009 |
Marco Nelissen <marcone@google.com> |
Music visualizer support hack. 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.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
fdf23c711d5d6094c95b43cdc9356a25d67f10c8 |
|
30-Sep-2009 |
Jianhong Jiang <jianhong@google.com> |
Remove audio latency fudge factor 96 msec.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
8f0e4aace6c0643f7c4005184c7df2c73368f0dc |
|
11-Sep-2009 |
Andreas Huber <andih@google.com> |
Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
148c1a2a96774517407717b61e5bc9cb08be8806 |
|
06-Sep-2009 |
James Dong <jdong@google.com> |
Add basic metadata retrieval support for midi, ogg, etc. Bug 2050320
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
47f59cfe40b0ebb3afd6c39f97dcd1eac2e966f7 |
|
07-Aug-2009 |
Andreas Huber <andih@google.com> |
Build the stagefright library by default.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
0024245e134467d120b40099da16c467dc365e76 |
|
28-Jul-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 374ea382ee3a9e3ce17e4c6357fc40d02e362810 Author: Andreas Huber <andih@google.com> Date: Tue Jul 28 09:54:13 2009 -0700 PV's OMX implementation now uses (spec-compliant) microseconds instead of milliseconds in buffer timestamps. commit 8d02f8ab5d7b022ad4ad34db2a9bdeea6ce2acfe Author: Andreas Huber <andih@google.com> Date: Mon Jul 27 14:24:26 2009 -0700 Support for using an overlay for video playback on TI hardware. Appears to be currently constrained to CbYCrY 16-bit colorspace. commit d17f321cb4b15c1fea378f33a7ef5998f23dd0fc Author: Andreas Huber <andih@google.com> Date: Mon Jul 27 09:45:38 2009 -0700 Added '--audio-only' commandline option to stagefright tool. commit d8beef6be5c668c46451446d87e622933371cd75 Author: Andreas Huber <andih@google.com> Date: Fri Jul 24 13:35:00 2009 -0700 Generalize the various workarounds for OMX nodes with their own unique interpretation of the spec. commit c7dfd53eeadf8ed5a39bf2b19b014dcd62f3324d Author: Andreas Huber <andih@google.com> Date: Thu Jul 23 16:06:36 2009 -0700 Fixed erroneous TI AAC decoder behaviour wrt shutdown. The AAC decoder appears to not return out buffers on an Executing->Idle transition, implemented a workaround that does a flush on all ports followed by the Executing->Idle. Oh, and flush with OMX_ALL doesn't properly work either. Fun. commit d6377282e75060881336578f166f9c7feacf3f8f Author: Andreas Huber <andih@google.com> Date: Thu Jul 23 14:06:50 2009 -0700 Apparently the "channels" parameter in AudioTrack's constructor no longer counts channels but is a bitmask of enabled destinations, update the code accordingly. commit ff698c79e851a2e57d362e9c3a09828af4048087 Author: Andreas Huber <andih@google.com> Date: Wed Jul 22 16:54:44 2009 -0700 Fix MPEG4 decoding using TI's hardware decoder that I broke earlier... commit 2ef78bb87cd856eb7f0b3d7dd68782a8650c12bf Author: Andreas Huber <andih@google.com> Date: Wed Jul 22 15:43:18 2009 -0700 Now that the qcom decoder properly advertises its own custom colorspace, update dependent code to reflect this fact. commit bbaec96910727080fd7c8a6907c04facb9f5220f Author: Andreas Huber <andih@google.com> Date: Wed Jul 22 14:32:03 2009 -0700 Finishing up previous, incomplete change. commit 76f14a1ae816b6f434771f8d12bdad81196f351e Author: Andreas Huber <andih@google.com> Date: Wed Jul 22 14:25:17 2009 -0700 The TI video decoder now properly decoder AVC/H.264 content. commit e106130d8c100d5c94603e43864a7a93cca10252 Author: Andreas Huber <andih@google.com> Date: Wed Jul 22 08:56:04 2009 -0700 Experimental support for the TI H.264 decoder, various modifications to OMXDecoder, non-functional still. commit 241c3062dec3447db1a1ee74558cb4b9098fc404 Author: Andreas Huber <andih@google.com> Date: Tue Jul 21 12:13:09 2009 -0700 Enable TI hardware OMX decoders (except for AVC/H.264 which still has issues). This particular set of OMX nodes does not appear to properly return our buffers when sending the "disable" command on a port. Rather it reqires manually flushing that port and _then_ disabling it instead. commit 1c34506a46e32ce25f2a86f3b4250dcfc037356a Author: Andreas Huber <andih@google.com> Date: Tue Jul 21 08:51:35 2009 -0700 Make it simpler to switch between the stagefright player and PVPlayer. commit 249c6de05671d403f8dd51f095d49bf190430c9c Author: Andreas Huber <andih@google.com> Date: Mon Jul 20 14:38:15 2009 -0700 Prepare to use soon-to-be-available hardware decoders in the OMX decoder.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
c2f1f07084818942352c6bbfb36af9b6b330eb4e |
|
17-Jul-2009 |
Eric Laurent <elaurent@google.com> |
Fix issue 1795088 Improve audio routing code Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
a64c8c79af1a15911c55306d83a797fa50969f77 |
|
21-Jul-2009 |
niko <niko@google.com> |
Added native metadata support. Metadata.java: Fixed typo 8k != 8092. The comment was correct though. In Metadata.h, the new Metadata class is declared in the ns android::media to limit the chances of conflict with other packages. The MetadataType in MediaPlayerInterface is gone and moved to Metadata as an inner typedef. Similarly the SortedVector<MetadataType> instance have been replace by a new type Metadata::Filter. All the keys declared in the java counterpart are also in Metadata.h. Metadata.cpp: Contains the implementation of the native metadata packing. There an associated change in the opencore package that should go in at the same time as this one.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
d608a813a9d2cbc6e2a5ea81d78d4a9044090c4c |
|
17-Jul-2009 |
niko <niko@google.com> |
Added method to get metadata out of the player. The method passes a list of metadata ids to be retrieved and a parcel where the metadata records should be appended. If the list of ids is empty, all the metadata should be returned.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
14d2747c7e54037e267bcff78b29e65b2181f0fa |
|
13-Jul-2009 |
Nicolas Catania <niko@google.com> |
New test player stub to load mock native players. Added a new class TestPlayerStub that takes a magic url in the setDataSource call. Based on the value of the url, the stub is going to load a DL and create the concrete player used during the test. After these initialization steps TestPlayerStub is just a wrapper. Added a new functional test MediaPlayerInvokeTest to demonstrate how a new mock player to test the invoke method can be loaded. Added a new mock player for the invoke test: invoke_mock_media_player.cpp.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
20111aa043c5f404472bc63b90bc5aad906b1101 |
|
15-Jul-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 8d179995654c19d9094e51989dc84ed0deba6e04 Author: Andreas Huber <andih@google.com> Date: Tue Jul 14 16:30:40 2009 -0700 Protect stagefright code with BUILD_WITH_STAGEFRIGHT build-define. commit 99b41acb58c34e8f024c30c833a09fd7b31c4e1f Author: Andreas Huber <andih@google.com> Date: Tue Jul 14 14:06:00 2009 -0700 OMX::list_nodes API, stagefright --list now lists all available OMX components. commit 94a74c5b24aae6d7e446fff83d62ae3a57dc351b Author: Andreas Huber <andih@google.com> Date: Mon Jul 13 16:04:29 2009 -0700 Reenabled "record" commandline application to test encoding, support for h263 codec specific data when writing to .mp4. commit d363dd74f611577567c66d25900d6264c306468c Author: Andreas Huber <andih@google.com> Date: Mon Jul 13 10:59:58 2009 -0700 Make non-socket communication in IOMX the default. commit e89fc82c4fd138c88339887baf72f1d0e67f8660 Author: Andreas Huber <andih@google.com> Date: Mon Jul 13 10:32:33 2009 -0700 The OMX interface now optionally supports communication through the binder only (no sockets involved) commit 28611de11223fba65299787cdd33f7fdbd6a60a3 Author: Andreas Huber <andih@google.com> Date: Fri Jul 10 15:09:13 2009 -0700 Split off the logic to render to a Surface (not ISurface!) into SurfaceRender.{cpp,h} commit c0cfa885faaeb17d3fc5436f6447b61708bd6fe1 Author: Andreas Huber <andih@google.com> Date: Fri Jul 10 12:21:46 2009 -0700 Fix display dimensions vs. decoded dimensions display issues, unfortunately breaks software rendering a bit... commit ae209a2b5d09caed5dd383c910f238926aaa8fc6 Author: Andreas Huber <andih@google.com> Date: Fri Jul 10 09:33:29 2009 -0700 Simple video decoder performance test in "stagefright" commandline tool. commit 59fe7840111d6f46dd3c48f4950146aed962dbd2 Author: Andreas Huber <andih@google.com> Date: Thu Jul 9 16:05:12 2009 -0700 StagefrightPlayer: Properly publish video dimensions by notifying the listener. commit 51b6598f0e47be5e12d77f1d14e111e71c593638 Author: Andreas Huber <andih@google.com> Date: Thu Jul 9 11:38:15 2009 -0700 MediaPlayerInterface::AudioSink now supports the specification of a callback for pull-based audio. commit 31ce53375d748da3e7d30e993ce89dae97fd65ea Author: Andreas Huber <andih@google.com> Date: Wed Jul 8 17:23:37 2009 -0700 Proper support for pushing audio to a specified AudioSink interface. Still not bulletproof: video falls behind frequently. commit a23e312b10631a5d47f5c9831205beac6b84ab36 Author: Andreas Huber <andih@google.com> Date: Wed Jul 8 15:10:13 2009 -0700 IGenesisPlayer and friends are no more, java interface now uses local playback instead of playing inside the media server process. commit 42ee5c06ab5ba1c16f50472b0b26a0526635c73c Author: Andreas Huber <andih@google.com> Date: Wed Jul 8 13:17:03 2009 -0700 MP3 extractor now supports seeking (only fixed bitrate files currently supported) commit 96a790405763bfa738d1c6845c99a9fdf579b66f Author: Andreas Huber <andih@google.com> Date: Tue Jul 7 10:53:54 2009 -0700 Keeping up-to-date with new master-gl changes, removing CameraSource for now, removing unnecessary commandline utilities from the build. commit 6c9dcb7c628c0347154dd7f37913a3a5f04deb99 Author: Andreas Huber <andih@google.com> Date: Mon Jul 6 16:40:02 2009 -0700 Finally take advantage of the fact that the Qcom OMX decoders already place the output buffers into memory accessible by the hardware yuv converter and avoid extra allocations and memcpys in that case. Split of the render logic into subclasses of VideoRenderer. commit e8d46e81cffc15ffb0bdf03f511e4a4497ca7621 Author: Andreas Huber <andih@google.com> Date: Mon Jul 6 12:18:29 2009 -0700 Added a few more cases of valid MPEG4 files to the sniffer, fixed end of stream notifications in MPEG4 files. commit 88bffc5ed4033a607080f8777a1c0ec9e3e079de Author: Andreas Huber <andih@google.com> Date: Thu Jul 2 12:25:03 2009 -0700 MediaPlayerImpl now properly pauses/resumes instead of tearing down the decoder chains and starting back up from the beginning. commit 732aa0a87c7e8d8a10776b275712649954962414 Author: Andreas Huber <andih@google.com> Date: Wed Jul 1 14:58:56 2009 -0700 Remove pthread_mutex_* and pthread_cond_* in favour of Mutex and Condition. commit 669e5944b2fe0542a3b8dba0c441a94503e99fb0 Author: Andreas Huber <andih@google.com> Date: Wed Jul 1 14:43:02 2009 -0700 Proper support for end-of-stream signalling of MediaSources. commit afb038f2dc594c742e554b2d42b86ffc7434e3fc Author: Andreas Huber <andih@google.com> Date: Tue Jun 30 16:48:03 2009 -0700 Support for the "sniffing" of datasources to determine their probable mime type (along with confidence). Slightly refactored the MP3Extractor to share common code with the sniffer. commit ed3644b8bd56807e1db4b32433a93a2467f1f3c5 Author: Andreas Huber <andih@google.com> Date: Fri Jun 26 13:27:52 2009 -0700 I don't think prepare should automatically start the player. commit 11eb9b49dc4a0819d366682817cba68613f4fe12 Author: Andreas Huber <andih@google.com> Date: Fri Jun 26 11:09:22 2009 -0700 Somewhat better timing information implemented in the MP3Extractor. commit cab023a1751735c0ed26c8493498a91d8644c6c9 Author: Andreas Huber <andih@google.com> Date: Thu Jun 25 15:41:56 2009 -0700 Initial checkin for support of mp3 content, extraction and playback. Media extractors now abstracted in MediaExtractor baseclass. commit 40f4146bb3c647e56690dd9b0fa3ffdea60030dc Author: Andreas Huber <andih@google.com> Date: Wed Jun 24 10:41:12 2009 -0700 Make sure we only allocate surface buffers if there is video to be played. commit 7f85e7d92fe81740e102e09905b19354f4ac178e Author: Andreas Huber <andih@google.com> Date: Wed Jun 24 10:19:32 2009 -0700 Clean up a failed merge and implement stub for new API in MediaPlayerBase. commit f0e9d494a4c03402ea7b54891848ca5a50c421b2 Author: Andreas Huber <andih@google.com> Date: Fri Jun 12 15:38:03 2009 -0700 Support yuv420->rgb565 conversion if hardware color conversion is unavailable. commit 87223248b3099cd5261b94169f84cfd1eba56a8f Author: Andreas Huber <andih@google.com> Date: Fri Jun 12 09:35:56 2009 -0700 Remove unimplemented and currently unnecessary blocking option from MediaSource::ReadOptions. commit e07e651f0325892b797f3eb64dbeca0f317afdfd Author: Andreas Huber <andih@google.com> Date: Wed Jun 10 16:26:42 2009 -0700 Enable assertions in HTTPDataSource. commit 0dc97adebea1721156880f4b3d5c70f8d50c53b2 Author: Andreas Huber <andih@google.com> Date: Wed Jun 10 12:34:39 2009 -0700 delete foo. commit 7f05845dda496e7defee284d32509d127e785784 Author: Andreas Huber <andih@google.com> Date: Wed Jun 10 12:34:08 2009 -0700 added foo. commit e432970c51eeec4e5d549bdb3e2d3e48ffb4f0e7 Author: Andreas Huber <andih@google.com> Date: Wed Jun 10 11:44:31 2009 -0700 Make sure to initialize all fields in _all_ constructors... Use a Mutex instead of the raw pthread_mutex_t. commit d6286a6bbca639952491448fa3e609b775a8a814 Author: Andreas Huber <andih@google.com> Date: Tue Jun 9 17:11:49 2009 -0700 send_command is now implemented twice... ugly hack to get both shutdown working correctly and startup as well... playback now "works" on the emulator, too. commit 8d657e004677a7c5dae4479e8519bcaa94c18aad Author: Andreas Huber <andih@google.com> Date: Tue Jun 9 11:58:55 2009 -0700 Instead of erasing codec specific data once it's been output to the omx node, retain the data and just rewind after a stop. commit 279fede6ba35cbc37c35616c53406bf2c9720202 Author: Andreas Huber <andih@google.com> Date: Tue Jun 9 10:58:11 2009 -0700 Various fixes related to play/pause. Decoder now properly frees OMXMediaBuffers, made MemoryDealer destructor protected instead of public to prevent accidental stack-allocation of MemoryDealer objects. commit 0f717f15a6328efd3f34082929cd8ad2351095a9 Author: Andreas Huber <andih@google.com> Date: Tue Jun 9 08:44:12 2009 -0700 Make sure to rewind codec specific data on OMXDecoder::stop and reset AudioPlayer's notion of time mapping. commit 0cfb63e33270daf9b215214608ab383f93a31823 Author: Andreas Huber <andih@google.com> Date: Mon Jun 8 14:25:48 2009 -0700 Massive rename. commit 30ed8f476c4431a5275538958b3e281bd17d5eab Author: Andreas Huber <andih@google.com> Date: Mon Jun 8 13:52:41 2009 -0700 send_command and fill/empty buffer commands must be executed in sequence, send_command is now dispatched over the socket instead of through the binder interface to ensure this. commit b832d04011b2dd8a9632eb7e575bfe1addd1270d Author: Andreas Huber <andih@google.com> Date: Mon Jun 8 10:21:17 2009 -0700 MediaBuffers can now be "clone()", they sit on top of the same data but have their own range and metadata. Once a clone's refcount drops to 0 it decrements the refcount on the original buffer. commit 4e944672808bdf1ed40a69f3f602f93ebf7b4049 Author: Andreas Huber <andih@google.com> Date: Mon Jun 8 10:01:01 2009 -0700 Split MediaBuffer.h into MediaBufferGroup.h and MediaBuffer.h, same with their respective source files. commit ddb7529b4de4828db51432bd405fddd76cfa3b6a Author: Andreas Huber <andih@google.com> Date: Fri Jun 5 16:30:25 2009 -0700 More fudging with A/V sync... commit 1e5a4d8df08237b58c06c6527a33152ae931addf Author: Andreas Huber <andih@google.com> Date: Fri Jun 5 11:54:20 2009 -0700 API cleanup of MediaSource. Got rid of MediaRing as it really doesn't serve a purpose if OMX decoders are used. commit 0953c65232aa9753d17d2e25c5f5526eb810cf13 Author: Andreas Huber <andih@google.com> Date: Thu Jun 4 16:59:19 2009 -0700 Experimental TimedEventQueue and an attempt at a cleaner player implementation using it, OMXDecoder is now a little less verbose. commit 2085b8ea9484a21fa11f94194a27405d413aeecc Author: Andreas Huber <andih@google.com> Date: Thu Jun 4 10:17:01 2009 -0700 Properly bail out of the AV sync loop if the MediaPlayerImpl is stopped. commit 471f143458a8a0d93cb1bf9568c63c3967279dc6 Author: Andreas Huber <andih@google.com> Date: Wed Jun 3 17:32:27 2009 -0700 Now this is much better AV sync, defer seeking the audio source until we know where the video source synced to. commit 4010d371dbe62ce4971e13437776cba32cb0bb3d Author: Andreas Huber <andih@google.com> Date: Wed Jun 3 16:01:07 2009 -0700 Tweaked some of the heuristics in AV sync, OMXDecoder is now a little less verbose, seek to a sync sample at or _after_ the requested position. commit f3d4af1d5a4ac31fa02271b000f6c7ec593f0da9 Author: Andreas Huber <andih@google.com> Date: Wed Jun 3 15:33:58 2009 -0700 Change the TimeSource interface's APIs, prefer microseconds over milliseconds now, changed the way MediaPlayerImpl does AV sync. commit 08bb46fa61d12e852a424698ddb0c90700328f6e Author: Andreas Huber <andih@google.com> Date: Wed Jun 3 11:57:24 2009 -0700 Using framework's Mutex and Condition classes instead of pthread functions, much saner locking in OMXDecoder. commit 4d77b4e09e59bbf8c1af009ae7dc62b10af52fd6 Author: Andreas Huber <andih@google.com> Date: Tue Jun 2 17:12:03 2009 -0700 MediaSources now publish their format. commit 7e429a26c57bf936e1a08035d2d11839f9f00310 Author: Andreas Huber <andih@google.com> Date: Tue Jun 2 16:38:29 2009 -0700 MetaData is now implemented in terms of KeyedVector, MetaData is now reference counted. commit 0fa957aa5c9bcb6ec122ed7b5b97430039be6797 Author: Andreas Huber <andih@google.com> Date: Mon Jun 1 14:39:55 2009 -0700 Sync sample seek support. commit 78a5f090d02e7e6e1a146b29bdb7771eecaa2f86 Author: Andreas Huber <andih@google.com> Date: Mon Jun 1 13:51:11 2009 -0700 Distinguish shutdown from port-flush since one requires buffers to be freed and the other one doesn't. Fixes a problem with seek. commit e57781d3b2c985a74cd8b60e7c8f2d576459d038 Author: Andreas Huber <andih@google.com> Date: Mon Jun 1 10:52:20 2009 -0700 First shot at support for seeking a MediaSource. Sync frames are not properly handled yet. commit 0551cd78fda78bf66877fb26c5a55e5ae23d8367 Author: Andreas Huber <andih@google.com> Date: Thu May 28 16:23:38 2009 -0700 Preliminary support for camera input. commit f8ebafa65d10d5a06944de6b2e2992a33121b857 Author: Andreas Huber <andih@google.com> Date: Thu May 28 12:13:47 2009 -0700 Allow NativeMediaPlayer access to Surface's getISurface() method. commit b1a9fb36eeccd9f49d28c1c64b31fccbd6506eeb Author: Andreas Huber <andih@google.com> Date: Thu May 28 11:38:25 2009 -0700 Header files are now in their own genesis2 hierarchy below frameworks/base/include. commit f49b8b234b8f6ce83148787eef540dd920f04aa6 Author: Andreas Huber <andih@google.com> Date: Thu May 28 11:22:03 2009 -0700 moved MPEG4Writer into libgenesis2. commit 5224254919dac4728677335ea60429fa16f518b4 Author: Andreas Huber <andih@google.com> Date: Thu May 28 11:13:38 2009 -0700 Everything now lives in the android namespace, integrated errors with android errors, renamed MediaPlayer to MediaPlayerImpl. commit f9a9d84f7e0465ef5d1938a068655ba39527cf99 Author: Andreas Huber <andih@google.com> Date: Wed May 27 16:43:11 2009 -0700 Support for getPosition() and getDuration(). commit 3206cc5140bcbc88be039f8d94b954af63e69752 Author: Andreas Huber <andih@google.com> Date: Wed May 27 15:37:45 2009 -0700 Support for {MediaPlayer, GenesisPlayer, Genesis2Player}::isPlaying() commit 9f41b248e0dfce71bbc50f883750cec52ebfd1fe Author: Andreas Huber <andih@google.com> Date: Wed May 27 13:49:50 2009 -0700 Proper disconnection from the OMX service. commit cdcf47a2c31599109ee42277c7fa14af3c600091 Author: Andreas Huber <andih@google.com> Date: Tue May 26 17:27:06 2009 -0700 New player type for the genesis player in libmediaplayerservice. Playing video through an ISurface now. commit 0586af20ac9ae0403dd190bafd290b0f90549723 Author: Andreas Huber <andih@google.com> Date: Fri May 22 15:53:19 2009 -0700 Fix a buffer overflow error by adding padding in case we need to de-frame AVC data. commit eac62fff6ad2ffb7b75c0d4a1b9620d33e93fb9b Author: Andreas Huber <andih@google.com> Date: Fri May 22 13:35:30 2009 -0700 Support for http URIs in MediaPlayer, compensate for AudioTrack latency. commit a7db456e3173d94d6b5e457547e2a6a5f7a8e1cc Author: Andreas Huber <andih@google.com> Date: Fri May 22 11:33:25 2009 -0700 Support for URIs in MediaPlayer class, support for shoutcast streams in MediaPlayer, force shutdown of OMX nodes if they don't shutdown cleanly within a second. commit 1f0268f4f14ad5215668f34e06a420850174d665 Author: Andreas Huber <andih@google.com> Date: Fri May 22 08:33:16 2009 -0700 and foo.txt is gone again. commit 0feca4e0919f345704d78ec78894bac5027bd5ed Author: Andreas Huber <andih@dhcp-172-19-27-148.mtv.corp.google.com> Date: Fri May 22 08:28:49 2009 -0700 added foo.txt commit 9c7d04b35cdc895a2de3602dc46522f608bd205f Author: Andreas Huber <andih@google.com> Date: Fri May 22 08:28:04 2009 -0700 delete foo again commit fec3ca1720992cce51b9a92b86b945da88a6b16c Author: Andreas Huber <andih@google.com> Date: Fri May 22 08:27:45 2009 -0700 weird commit 30a6571302333146e537e537a3a8986245cca87c Author: Andreas Huber <andih@dhcp-172-19-27-148.mtv.corp.google.com> Date: Fri May 22 08:18:55 2009 -0700 reverse test commit dea3d99dd0fe9386e8a3c51954d9d0fe2be09d38 Author: Andreas Huber <andih@google.com> Date: Fri May 22 08:18:22 2009 -0700 test commit a9eeafec6e46072cac41e54ebdbd153cb7ae7518 Author: Andreas Huber <andih@google.com> Date: Thu May 21 16:37:50 2009 -0700 Use the video ring again for now. commit e05ff3d3c1c4f89ef499a2b172138a775fd694e3 Author: Andreas Huber <andih@google.com> Date: Thu May 21 15:42:19 2009 -0700 Export to .mp4 now works for MPEG4 video content. Fixed a bug in the sample table wrt co64 chunks. commit 5c44c540374a4e50c4e8aaab2b7a34aed6e1391e Author: Andreas Huber <andih@google.com> Date: Thu May 21 09:56:11 2009 -0700 Fix the build, all binder-related headers have moved and there's a new library libbinde r to link against now. commit 23e0a24404d16c898c2c6b3c7495ad303844bc71 Author: Andreas Huber <andih@google.com> Date: Thu May 21 08:42:04 2009 -0700 Initial checkin of MPEG4Writer, a class to export media sources into an mpeg4 file. MPEG4/AVC metadata (efss & friends) not currently working. commit 9cd77adb1ac194197364ffad00a0d7215f458e1a Author: Andreas Huber <andih@google.com> Date: Wed May 20 12:31:45 2009 -0700 New shell command to test recording/encoding. Various changes to OMXDecoder to support encoding properly. Now each OMXDecoder needs a dedicated thread on the client side since onEvent responses could block which would cause deadlocks if a node depends on the output of another node for example. commit 5c510fb55ffed7ec25305999ed9b6c1eec48d503 Author: Andreas Huber <andih@google.com> Date: Mon May 18 15:40:06 2009 -0700 Make media decoding the default in the genesis2 commandline app instead of shoutcast playback. commit f6c7a2040b8eb43326621f12c3a936e09b3a70e3 Author: Andreas Huber <andih@google.com> Date: Mon May 18 11:03:04 2009 -0700 The king is dead, long live the kind... Replaced old OMX binder interface with new OMX binder interface/socket hybrid. commit 0d4955eb5df9bfafb576d22f2ed572644d6d69ac Author: Andreas Huber <andih@google.com> Date: Thu May 14 12:39:34 2009 -0700 dynamic negotiation of NAL framing with the MPEG4Source, removed stale code from genesis2 commandline tool. Enable support form PV H264 software decoder. commit 380369f54a8027cbc9349305184d6bf527a24efe Author: Andreas Huber <andih@google.com> Date: Wed May 13 17:32:00 2009 -0700 Explore the option of running everything inside the mediaserver process by encapsulating the player in an IGenesisPlayer binder interface. commit b5cada56b9089a23e0c461352a97dc71e08b424d Author: Andreas Huber <andih@google.com> Date: Wed May 13 12:11:06 2009 -0700 Introduction of TimeSource class, clean shutdown of OMX Nodes. commit 89f6e582e605dcb2149eb67f73fe9345d4b9be2e Author: Andreas Huber <andih@google.com> Date: Tue May 12 17:11:56 2009 -0700 Helper classes MediaRing and MediaPlayer. commit 9aaed8739b4bb941473da367fb88f63224d2f1b7 Author: Andreas Huber <andih@google.com> Date: Tue May 12 14:19:18 2009 -0700 Using mmap to map a file instead of going through FILE* improves performance, who knew? commit ad097a78bbd002c59193ffdc39b64935928426c7 Author: Andreas Huber <andih@google.com> Date: Mon May 11 16:42:42 2009 -0700 Added a performance test, refactored AudioDecoder a little. commit bdd1b80ab3f3ba43e04f1f996e7fa84ed2e2728a Author: Andreas Huber <andih@google.com> Date: Fri May 8 16:19:29 2009 -0700 No more copying the output buffers coming out of the decoder, NAL separation also done in the extractor to avoid copying the data. commit 858955b42c29b8033841a8caaa56c2a449810ef3 Author: Andreas Huber <andih@google.com> Date: Fri May 8 14:02:38 2009 -0700 Change from a model in which the caller specifies the destination buffer to one where the MediaSource returns a buffer. commit 95098b6d4f8bdc37dfb6a109ca58db4d9e414e2d Author: Andreas Huber <andih@google.com> Date: Fri May 8 13:21:45 2009 -0700 Changes to support multiple pieces of codec specific data to the decoder, de-frame nal units from the h.264 stream and insert start codes commit 3941fcf87a48dda81683df727dfb1381f62d9184 Author: Andreas Huber <andih@google.com> Date: Thu May 7 16:37:45 2009 -0700 some refactoring. Most streams play now. commit d3152862840d4dd39068e5197bec8674f3d55dd5 Author: Andreas Huber <andih@google.com> Date: Thu May 7 15:37:32 2009 -0700 Misc. changes to support H264 decoding using the qcom hardware decoder commit d4ecdfe7af36e7468270d1c2cbbdc540efe0351e Author: Andreas Huber <andih@google.com> Date: Thu May 7 09:28:18 2009 -0700 Timestamps are now stored as a fraction, i.e. units and scale, also, PV appears to violate OMX specs by assuming timestamps are in milliseconds instead of microseconds. commit fe6a50943f885e065d4061aa727a54417e9f36db Author: Andreas Huber <andih@google.com> Date: Wed May 6 14:18:27 2009 -0700 Refactored commandline app instantiation of the decoder. commit da1ff2724d0e78e8b360d9a2c34c55dd0e2c0492 Author: Andreas Huber <andih@google.com> Date: Wed May 6 10:41:14 2009 -0700 Proper audio/video synchronization. commit 569ee3a23f600f4b6b87c6178c0223b06e97f201 Author: Andreas Huber <andih@google.com> Date: Wed May 6 09:17:20 2009 -0700 Preliminary support for timestamps. commit e4e302a89207550d8a7170d8c0afbd9c15047c84 Author: Andreas Huber <andih@google.com> Date: Tue May 5 15:13:12 2009 -0700 Another quick hack job to make CachingDataSource thread-safe as well. commit dfb376a58bd7c09aa04e89558186fcfe13fe696c Author: Andreas Huber <andih@google.com> Date: Tue May 5 15:08:14 2009 -0700 Quick rushjob to make FileSource and SampleTable thread safe. commit 02b29e7ebdab1f8b959b6c177ceb3b89d998f375 Author: Andreas Huber <andih@google.com> Date: Mon May 4 17:22:04 2009 -0700 Made video decoding work for mpeg4/h263 and mostly(?) with AVC content. commit 3a57b8ff15e48f5a0af03bf0a99c32e240dbb7ef Author: Andreas Huber <andih@google.com> Date: Mon May 4 09:26:42 2009 -0700 Getting rid of old sample code to drive the OMXNode binder interface. commit 5b046aed0cf524a57ea711bc1e43ea80e57b2cb3 Author: Andreas Huber <andih@google.com> Date: Fri May 1 16:21:11 2009 -0700 Moved files from the commandline utility into the framework, renamed MP3Decoder to AudioDecoder commit 7f3fbba21512a078b732cc52c7bd5ba5acb9a317 Author: Andreas Huber <andih@google.com> Date: Fri May 1 15:56:19 2009 -0700 Fixed buffer ordering and an off-by-1 error in the SampleTable code. Plays all AACs now :) commit 024d06baab8f2c540dde16f7e7a4b6dd57f638c7 Author: Andreas Huber <andih@google.com> Date: Fri May 1 11:52:48 2009 -0700 Some AAC content in .3gp or .mp4 files plays correctly now, other does not. Implemented ESFS parser. commit 1470427866b0d3e0ce6848b4edc01c13a09be289 Author: Andreas Huber <andih@google.com> Date: Thu Apr 30 15:19:31 2009 -0700 Another checkpoint, amr decoding now functional. commit e612d044439f56331b6a2bc4a88622e04d4d42e7 Author: Andreas Huber <andih@google.com> Date: Wed Apr 29 12:11:29 2009 -0700 string wrapper around String8, various fixes, shoutcast now works again. commit 2ea52dfb1a39bf3a223ffc87855e54919e2daff7 Author: Andreas Huber <andih@google.com> Date: Wed Apr 29 11:08:18 2009 -0700 Initial check-in of OMXNode binder interface. commit 7880d2957f74c0d7fba7679431ff5adb3780543b Author: Andreas Huber <andih@google.com> Date: Wed Apr 29 10:05:01 2009 -0700 Initial check-in of both libgenesis2 and the genesis2 commandline tool.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
4829038419910aa6e75ce8992d45a223452d5c67 |
|
10-Jul-2009 |
Nicolas Catania <niko@google.com> |
Implemented the tracking of the metadata updates. Switched from Vector to SortedVector. Removed dead sorting code. Added a type to represent MetadataType. Minor fixes missed in the previous CL.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
8e1b6cce24574b9ecd5b0300155776bd0b4ef756 |
|
09-Jul-2009 |
Nicolas Catania <niko@google.com> |
Basic plumbing to retrieve metadata from the native player. IMediaPlayer.h Added a getMetadata method that mirrors the on in MediaPlayer.java. MediaPlayer.java Added a native method to get the metadata from the native player. Parse the parcel into a Metadata object. Metadata.java Added a stub to parse the Parcel returned by the native player into a set of metadata. android_media_MediaPlayer.cpp JNI call to forward the getMetadata call. MediaPlayerService.cpp MediaPlayerService::Client implements the new getMetadata method added in IMediaPlayer.h
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
a7e0e8b4c429fc68eb1bd5b5a30f5b91352288f9 |
|
08-Jul-2009 |
Nicolas Catania <niko@google.com> |
Implemented the metadata changed notification filters. IMediaPlayer: new setMetadataFilter method so set a filter (2 lists of allowed and blocked metadata type) serialized in a Parcel. MediaPlayer.java/android_media_MediaPlayer.cpp/mediaplayer.cpp new setMetadataFilter that passes the filter down to the MediaPlayerService's binder interface. MediaPlayerService.cpp The Client inner class holds the allowed and blocked metadata types. These are in 2 vectors that get populated in the setMetadataFilter. A new shourldDropMetadata method returns true if a type of metadata should be dropped according to the filters. The notify method in run the metadata update notifications thru the filter and possibly drop them.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
e35922dc7121ddbd2ec7923e0756adb92046b8ff |
|
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
merge master in master_gl
|
1d187f1a86855f5f0694d7ec30efc9833bf7c589 |
|
13-May-2009 |
Nicolas Catania <niko@google.com> |
Direct api to the native media player. MediaPlayer.java has 3 new methods: * newRequest creates a Parcel that can be used to send data to the native player using invoke. * invoke issues synchronous calls to the native player using opaque parcels for the request and reply. IMediaPlayer.h has 1 new abstract method: * invoke The Midi and Vorbis players have a stub for these. So far only PV makes use of that new feature. To avoid any copy overhead, the JNI interface uses Parcel as a java object (no serialization/copy happens at the JNI layer). The remote interface token is inserted when the Parcel is constructed in java. That way the parcel is already routable when it reaches IMediaPlayer.cpp (proxy). No extra copy is needed there.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
6f74b0cc490a3b8523252ded00f7ca55160effd1 |
|
04-Jun-2009 |
Mathias Agopian <mathias@google.com> |
fix build
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7562408b2261d38415453378b6188f74fda99d88 |
|
20-May-2009 |
Mathias Agopian <mathias@google.com> |
move libbinder's header files under includes/binder
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
c918d4ae9d45f3d7d0150e35eae8cd97ec474118 |
|
27-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
Merge commit 'korg/cupcake' Conflicts: core/java/android/webkit/WebView.java core/java/android/widget/TwoLineListItem.java preloaded-classes
|
795fa5848276bab87445fa64fd0941c13ef62398 |
|
25-Mar-2009 |
Dave Sparks <> |
Automated import from //branches/cupcake/...@141591,141591
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
6c5b21025f746fcb838499ae01b4d384ab1d2f66 |
|
21-Mar-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Deal better with situations where OpenCORE is disabled.
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
89fa4ad53f2f4d57adbc97ae1149fc00c9b6f3c5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
15f767b960b38059a74a42a33e16d8df2aec8bc1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
ad04d9201452001dbaac4349f084cc9316190b89 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
99ffda877980468a9ae31e013cd10fb3645df1b0 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7a2146d5807030b2629f347736be5301b61e8811 |
|
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
5e07b5774c8b376776caa4f5b0a193767697e97e |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
7b5eb023f8d87cca6d830ae6c11c6aadbe02aca8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|
2729ea9262ca60d93047e984739887cfc89e82eb |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp
|