![]() |
Previous | Next |
The MediaInfo method sends channel and sample rate data to the visualization.
Syntax
HRESULT MediaInfo(
LONG lChannelCount,
LONG lSampleRate
BSTR bstrTitle
);
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.
See Also
Previous | Next |