[LAD] "enhanced event port" LV2 extension proposal

Lars Luthman lars.luthman at gmail.com
Wed Nov 28 23:02:54 UTC 2007


On Wed, 2007-11-28 at 23:56 +0100, Lars Luthman wrote:
>   Event_Port_Buffer* buf = ports[EVENT_PORT];
>   uint32_t index;
 = 0;
>   uint32_t next_frame;
>   uint32_t frames_done = 0
>   while (index < buf->used_size) {
>     next_frame = events[index].timestamp >> 16;
>     render_audio(frames_done, next_frame);
>     frames_done = next_frame;
>     handle_event(events[index]);
>     index += 1 + (events[index].size - 8) / 16;
>   }
>   render_audio(frames_done, nframes);

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20071129/f6d4b033/attachment.pgp>


More information about the Linux-audio-dev mailing list