AcxMuteChangeStateNotification function (acxelements.h)

The AcxMuteChangeStateNotification function sends a notification of a mute state change on an ACXMUTE object so that acx can generate a corresponding event.

Syntax

void AcxMuteChangeStateNotification(
  ACXMUTE Mute
);

Parameters

Mute

An ACXMUTE object whose mute state has changed. For more information about ACX objects, see Summary of ACX Objects.

Return value

None

Remarks

Example

Example usage is shown below.

    PCODEC_MUTE_TIMER_CONTEXT timerCtx = GetCodecMuteTimerContext(Timer);
    PCODEC_MUTE_ELEMENT_CONTEXT muteCtx = GetCodecMuteElementContext(timerCtx->MuteElement);

    // update settings 0 <-> 1 
    for (ULONG i = 0; i < MAX_CHANNELS; ++i)
    {
        muteCtx->MuteState[i] = !muteCtx->MuteState[i];
    }

    AcxMuteChangeStateNotification(timerCtx->MuteElement);

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxelements.h

See also

  • [acxelements.h header](index.md)