summaryrefslogtreecommitdiffstats
path: root/include/media/mediaplayer.h
Commit message (Collapse)AuthorAgeFilesLines
* API Extension: Support for optionally specifying a map of extra request ↵Andreas Huber2010-01-281-1/+8
| | | | | | | | headers when specifying the uri of media data to be played. related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
* Media server death nodificationJames Dong2010-01-151-24/+4
|
* am a97402e1: am c39d2e3c: Music visualizer support hack. This currently ↵Marco Nelissen2009-10-061-0/+1
|\ | | | | | | | | | | | | | | | | 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. Merge commit 'a97402e1cbadbdc874afa9ffdbd23f1c62fb8177' into eclair-mr2-plus-aosp * commit 'a97402e1cbadbdc874afa9ffdbd23f1c62fb8177': Music visualizer support hack.
| * Music visualizer support hack.Marco Nelissen2009-10-061-0/+1
| | | | | | | | 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.
* | merge from open-source masterJean-Baptiste Queru2009-09-161-1/+1
|\ \ | |/ |/|
| * Update comment in mediaplayer.h.Ravi K Yenduri2009-09-161-1/+1
| | | | | | | | | | When sending a MEDIA_INFO message, the second integer is supposed to be an "info" code instead of an "error" code.
| * donut snapshotJean-Baptiste Queru2009-07-211-1/+1
| |
| * auto import from //branches/cupcake_rel/...@141571The Android Open Source Project2009-03-191-0/+1
| |
* | Basic plumbing to retrieve metadata from the native player.Nicolas Catania2009-07-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Implemented the metadata changed notification filters.Nicolas Catania2009-07-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Direct api to the native media player.Nicolas Catania2009-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | am d670b8c6: Merge change 3981 into donutAndroid (Google) Code Review2009-06-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Merge commit 'd670b8c61ebd13324ac21bdbc08d8a02fc0a765a' * commit 'd670b8c61ebd13324ac21bdbc08d8a02fc0a765a': Removed trailing whitespaces.
| * | Removed trailing whitespaces.Nicolas Catania2009-06-111-1/+1
| | |
| * | Automated import from //branches/donutburger/...@140866,140866Jason Sams2009-03-241-0/+1
| |/
* | move libbinder's header files under includes/binderMathias Agopian2009-05-201-1/+1
| |
* | Automated import from //branches/master/...@140868,140868Jason Sams2009-03-241-0/+1
|/
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-4/+64
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+144
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-144/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-11/+17
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+138