Re: mm framework

Enrico Weigelt <[email protected]>
Newsgroups gmane.comp.multimedia.media-api
Message-ID <[email protected]>
* Steve Lhomme <[email protected]> [2004-01-03 18:22:58 +0100]:

<snip>
> >What we have to consider on the design of an audio api are exact latency
> >measurements, especially if we're gonna work w/ networked audio. At least
> >we need something like timestamps (which go against ntp-synced rtcs)
> 
> I highly agree !!! The latency indication is one of the key of the 
> success of BeOS for audio apps. And IMO this should apply to video as 
> well (for a modern API).

Yes, so we need something like a getLatency() method on each codec,
device or whatever we call it. A networked media driver should implement
some timing (or perhaps use a static configurable value).

All together we should use some timestamping for each audio and video
frame for better synchronizing. Latency information should be used to 
predict optimal buffering or for faking timestamps where they're not
available. 

Does this sound okay ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT services

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     [email protected]
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.