[linux-audio-dev] P&S: buffer pointer update events and time

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] P&S: buffer pointer update events and time
From: Roger Larsson (roger.larsson_AT_norran.net)
Date: la tammi  08 2000 - 20:14:54 EST


Problem:
 Normally an event has a time when it is to be executed.

 This gives a problem with the suggested (as I understand it)
 "new buffer pointer event" and transferring data over any form of
 IPC (inter process communication). Since IPC can be faster then the
 current data rate you should be able to write it all out and return.
 But it is not possible since the size of the data is not known until
 next buffer update event arrives.

Observation:
 A event can only describe what has happened up to this time, it can
 not see into the future.

Solution:
 Time (see "T&S: time") duration of valid buffer.
 When the duration has expired the plugin expect/requests a new.

Note:
 time format contains both number of samples and sample frequency
 in this case.

/RogerL

--
Home page:
  http://www.norran.net/nra02596/


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:23:26 EST