1.1.4.6.2 DRV_WM8904_MuteOn Function

void DRV_WM8904_MuteOn(DRV_HANDLE handle);

Summary

This function allows WM8904 output for soft mute on.

Description

This function Enables WM8904 output for soft mute.

Preconditions

The DRV_WM8904_Initialize routine must have been called for the specified WM8904 driver instance.

DRV_WM8904_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;

_// myWM8904Handle is the handle returned // by the DRV_WM8904_Open function._

DRV_WM8904_MuteOn(myWM8904Handle); _//WM8904 output soft muted_

C

void DRV_WM8904_MuteOn(DRV_HANDLE handle);