Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
Working with Streaming Resources
The sample audio DSP plug-in project generated by the Windows Media Player Plug-in Wizard does not require any streaming resources to be allocated by the plug-in. The Echo sample, however, requires a separate buffer to hold the audio data for a period of time to create the delay effect. The buffer is managed by two methods: IMediaObject::AllocateStreamingResources, which creates the buffer, and IMediaObject::FreeStreamingResources, which releases the buffer. The IMediaObject methods are implemented in Echo.cpp.
The following sections provide further information about managing the buffers:
- Variables to Manage the Delay Buffer
- Implementing IMediaObject::AllocateStreamingResources
- Implementing IMediaObject::FreeStreamingResources
See Also
| Previous | Next |