Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: facts we will have to face ...

From: holger:rebol at: 24-Oct-2001 8:16

On Wed, Oct 24, 2001 at 10:35:54AM -0400, Porter Woodward wrote:
> Even this would be a PITA. I'm not sure, but somehow I doubt that > REBOL/View in any form has a great amount of compatibility with the > underlying OS and APIs. On Windows, the playback area of the media player > is a pretty special display viewport - trying to embed that into a > REBOL/View interface could be impossible w/o some serious changes to the > engine (just guessing here).
AFAIR at least RealMedia uses COM objects as its rendering areas, i.e. you could write a wrapper DLL that implements a COM rendering area which is simply a frame buffer that sends REBOL a WinMsg once there is new data. REBOL could wait for that message in its main loop (a feature for the next version of View), call the library to fill in an image with the buffered data, attach it to a face, and 'show the face. This is really not much different from how other players do it in terms of overhead. -- Holger Kruse [holger--rebol--com]