Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Get or set mute state for one or all logical channels inside a cluster.

Files

usbd_audio_drv_<codec-name>.h / usbd_audio_drv_<codec-name>.c

Prototype

Arguments

p_audio_drv

Pointer to audio driver structure.

unit_id

Feature Unit ID.

log_ch_nbr

Logical channel number. 

set_en

Flag indicating to get or set the mute.

p_mute

Pointer to the mute state to get or set.

Returned Value

DEF_OK, if NO error(s) occurred and request is supported.

DEF_FAIL, otherwise.

Callers

Audio Class.

Implementation guidelines

  1. log_ch_nbr allows you to get the mute state for a specific channel. When log_ch_nbr is 0, you get the mute state for all channels. Indeed, the logical channel #0 represents the master channel and encompasses all channels.
  • No labels