Let me try to answer... Sync is determined by comparison the playback clock. (i) Any component can register to be notified of the clock state by registering to PVMFMediaClockStateObserver. (ii) To obtain the clock value itself, the component needs to implement the PvmiClockExtensionInterface interface (method SetClock). (iii) A MIO that implements these interfaces and makes use of them to control AV sync is known as an Active MIO.
Now, theoretically, any component that implements these interfaces can control the clock, and hence the AV sync. But, practically, only the audio/video components have the means to compare the playback clock with another time value (duration played). So, "feedback to AV/Sync" does not depend on PvmiMIOControl. Also, there is really no "feedback" being given during the AV sync control. An active MIO component can only control the clock value. The MediaOutputNodePort has a reference of the playback clock. Before pushing out data to the corresponding MIO, it compares the clock value against the timestamp value of the media message being pushed out. If the playback clock is ahead of the timestamp by a fixed margin, the media message is dropped. And so on. -Ravi On Jan 29, 8:24 pm, hanchao3c <[email protected]> wrote: > Hi Spark . > > I find Audio sink node can be implented base on MediaOutput > ( PvmiMIOControl) or a General Node. > Do you mean Only using MediaOutput , the Audio sink node can give > feedback to AV/Sync ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
