summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MidiFile.h
Commit message (Collapse)AuthorAgeFilesLines
* Added native metadata support.niko2009-07-221-4/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* Added method to get metadata out of the player.niko2009-07-171-1/+7
| | | | | | | 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.
* 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.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+77
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-77/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-2/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+79