1.1.3.6.6 DRV_GENERICCODEC_MuteOn Function

void DRV_GENERICCODEC_MuteOn(DRV_HANDLE handle);

Summary

This function allows Generic Codec output for soft mute on.

Description

This function Enables Generic Codec output for soft mute.

Preconditions

The DRV_GENERICCODEC_Initialize routine must have been called for the specified Generic Codec driver instance.

DRV_GENERICCODEC_Open must have been called to obtain a valid opened device handle.

Parameters

ParametersDescription
handleA valid open-instance handle, returned from the driver's open routine

Returns

None.

Remarks

None.

Example

_// myAppObj is an application specific object._

MY_APP_OBJ myAppObj;

uint8_t mybuffer[MY_BUFFER_SIZE]; DRV_BUFFER_HANDLE bufferHandle;

_// myGENERICCODECHandle is the handle returned // by the DRV_GENERICCODEC_Open function._

DRV_GENERICCODEC_MuteOn(myGENERICCODECHandle); _//GENERICCODEC output soft muted_

C

void DRV_GENERICCODEC_MuteOn(DRV_HANDLE handle);