[gmpi] Re: Topic 7: Audio packaging

  • From: RonKuper@xxxxxxxxxxxx
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Mon, 2 Jun 2003 09:15:15 -0400

Tim Hockin wrote on Friday, May 23, 2003
>>>
Instead of the host saying "here are your inputs and here are buffers for
your outputs" the host can say "here are your inputs, please give me your
outputs".  The plugin can call host->get_buffer() and fill it with data, or
it can hand back the original buffers.
<<<

This isn't too different for the DirectX model.  In DirectX, the plugin is
told "here are your inputs" (the plugin's IPin::Receive method gets called
the buffer in an IMediaSample.)  The plugin then processes, and calls
IPin::Deliver on its output pin.  It either passes the same media sample
along (downstream), or it passes a new one which it gets from it's output
pin's IMemAllocator.

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: