From a64c8c79af1a15911c55306d83a797fa50969f77 Mon Sep 17 00:00:00 2001 From: niko Date: Mon, 20 Jul 2009 15:07:26 -0700 Subject: 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 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. --- media/libmediaplayerservice/MidiFile.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'media/libmediaplayerservice/MidiFile.h') diff --git a/media/libmediaplayerservice/MidiFile.h b/media/libmediaplayerservice/MidiFile.h index 30b6a2e..25d4a1b 100644 --- a/media/libmediaplayerservice/MidiFile.h +++ b/media/libmediaplayerservice/MidiFile.h @@ -49,10 +49,6 @@ public: virtual status_t invoke(const Parcel& request, Parcel *reply) { return INVALID_OPERATION; } - virtual status_t getMetadata(const SortedVector& ids, - Parcel *records) { - return INVALID_OPERATION; - } private: status_t createOutputTrack(); -- cgit v1.1