Hi Lucien, So far so good.
Next, you would need to add this recognizer to the registry. Please look at http://android.git.kernel.org/?p=platform/external/opencore.git;a=blob;f=engines/player/config/linux_nj/pv_player_node_registry.cpp;h=787f731a66d879c82d7ea276af54dffea00cf4c1;hb=cupcake to see how the existing static recognizers (mp3, wav, amr) are added. -Ravi On Feb 11, 5:26 am, Lucien <[email protected]> wrote: > Thanks for Freepine and Dave, > > After modifying MediaScanner.java and MediaFile.jave, > the music player can scan .acc file and show it in the player list. > But when I choose the .aac file to play, it still can't work. > > From your suggestion, I need to take some work to extract metadata > and > register aac recognizer plugin in recognizer registry. > Beside those work, is there any place need to be modified ? > > I have no sense where to start those work, can you specific more > detail. > > Thanks > > On 2月11日, 下午5時37分, Dave Sparks <[email protected]> wrote: > > > There are several places that need to be updated: Mediascanner, the > > list of supported mime types. I suspect it will also take some work to > > extract the metadata. > > > On Feb 10, 11:45 pm, Freepine <[email protected]> wrote: > > > > If aac files didn't appear in SONGS of music library, you will need change > > > media scanner to not filter out .aac files. > > > BTW, did you register aac recognizer plugin in recognizer > > > registry?http://android.git.kernel.org/?p=platform/external/opencore.git;a=blo... > > > > On Wed, Feb 11, 2009 at 3:27 PM, Lucien <[email protected]> wrote: > > > > > Dear all : > > > > > I have a question to conduct. > > > > The Android release 1.0 does not support aac file in the > > > > music > > > > player because it doesn't implement an AAC file recognizer and > > > > register it in > > > > recognizer registry to enable AAC playback . > > > > > Currently , OpenCORE 2.0 has supported aac recognizer for > > > > Android > > > > So, I try to merge the code into Cupcake version to play aac > > > > file. > > > > > I have added aac recognizer code into the folder > > > > device/external/opencore/pvmi/recognizer/plugins/ > > > > pvaacffrecognizer > > > > > In addition, > > > > I modify the makefile to add libpvaacffrecognizer \ at > > > > LOCAL_WHOLE_STATIC_LIBRARIES > > > > and > > > > include $(PV_TOP)//pvmi/recognizer/plugins/pvaacffrecognizer/ > > > > Android.mk > > > > > But the music player list also can't show .aac file > > > > So, can anybody help me to merge aac recognizer to play .aac > > > > file > > > > > Thanks > > > > > Best Regards, > > > > Lucien- 隱藏被引用文字 - > > > - 顯示被引用文字 - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
