Share via


Windows Media Player 11 SDK IWMPEffects::MediaInfo 

Windows Media Player SDK banner art

Previous Next

IWMPEffects::MediaInfo

The MediaInfo method sends channel and sample rate data to the visualization.

Syntax

  

Parameters

  lChannelCount

[in]  Long integer containing the number of channels (one for mono, or two for stereo).

  lSampleRate

[in]  Long integer containing the sample rate in hertz (Hz). For example, a value of 22500 would specify a rate of 22.5KHz.

  bstrTitle

[in]  String specifying the title.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Requirements

Version: Windows Media Player version 7.0 or later.

Header: Include effects.h.

See Also

Previous Next