Let me re-phrase the question. How can we find out that file format is aac or mp3 before creating audiosink node in playerdriver PV engine seems to know File formats "after" source and sink nodes have been created, a little too late. The source url for local playback files is of type sharedfd://10.0.80239432 , doesn't give much idea of file extension really. How does PV parser know which parser node to create ... it must scan the actual file for this data , as it seems mediaplayer/UI is passing a url like above to PV. apologize if this is off topic, but some pointers would be appreciated.
On Jun 9, 12:01 am, manish <android.mm....@gmail.com> wrote: > Hi > > Need playerdriver to call custom MIO for certain Audio Format, while > continuing to call AndroidAudioOutput for others. playerdriver does > not really know the audio format type[ eg PVMF_MP3], so what would be > the best way to achieve this ? also the Generic MIO interface > [ android_audio_mio.cpp] needs this information as well, to talk to > appropriate threadsafe implementation. Currently, it is hardcoded to > AndroidAudioOutput threadsafe implementation. > > thanks, > M --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---