Share via


Windows Media Player 11 SDK Implementing Your DSP CodeĀ 

Windows Media Player SDK banner art

Previous Next

Implementing Your DSP Code

Once you have built the sample DSP plug-in, you can modify the code to create your own Windows Media Player DSP plug-in. Which methods you change and which you can leave as they are depends upon the following factors:

  • Whether your DSP plug-in will process audio or video. Since the sample plug-in processes audio, you will have less code to modify to create an audio DSP plug-in than to create one that processes video. For instance, in addition to changing the code that performs the data processing, creating a video DSP plug-in will require you to alter the implementations of the methods that handle format negotiation between Windows Media Player and the plug-in.
  • The number of properties you want to allow the user to change. You will certainly want to change the default property page implementation to suit your needs, and you may need to add additional properties.
  • Whether your DSP plug-in needs to allocate any streaming resources. Your plug-in may require additional buffers.
  • Whether your audio DSP plug-in needs to continue to output data after Windows Media Player has stopped supplying data in the input buffer.

The following sections use the DSP plug-in sample code generated by the Windows Media Player Plug-in Wizard to illustrate important concepts. You might find it helpful to open Microsoft Visual Studio and generate the sample code first so you can refer to it as you read this section. For details about how to use the Windows Media Player Plug-in Wizard, see Building a DSP Plug-in.

Section Description
Implementing an Audio DSP Plug-in Discusses what you need to know to create your own audio DSP plug-in based on the sample generated by the wizard.
Implementing a Video DSP Plug-in Discusses what you need to know to create your own video DSP plug-in based on the sample generated by the wizard.

See Also

Previous Next