MFPMediaPlayer_SetBalance

Sets the current audio balance.

MFPMediaPlayer_SetBalance PROTO MediaPlayer:DWORD, dwBalance:SDWORD

Parameters

  • MediaPlayer - A pointer to the Media Player (IMFPMediaPlayer) object.

  • dwBalance - The balance level to set, -100 to +100.

Returns

TRUE if successful or FALSE otherwise.

Notes

0 indicates balance, -100 indicates left, +100 indicates right.

See Also

MFPMediaPlayer_GetBalance, MFPMediaPlayer_GetVolume, MFPMediaPlayer_GetMute, MFPMediaPlayer_SetMute