Channel Mode control
[Mixer and Controls]

A Channel Mode allows you to swap the left and right channels, mix the left and right channels into the left or right channel only, or send the left or right channels to both left and right. More...

Functions

HPI_ERR HPI_ChannelMode_QueryMode (const HPI_HSUBSYS *phSubSys, const HPI_HCONTROL hMode, const HW32 dwIndex, HW16 *pwMode)
 Query the available channel modes for this control Iterate dwIndex until an error is returned to get allowed values for channel mode in *pwMode.
HPI_ERR HPI_ChannelModeSet (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wMode)
 Set the channel mode.
HPI_ERR HPI_ChannelModeGet (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 *wMode)
 Get the current channel mode.

Detailed Description

A Channel Mode allows you to swap the left and right channels, mix the left and right channels into the left or right channel only, or send the left or right channels to both left and right.


Function Documentation

HPI_ERR HPI_ChannelMode_QueryMode const HPI_HSUBSYS *  phSubSys,
const HPI_HCONTROL  hMode,
const HW32  dwIndex,
HW16 *  pwMode
 

Query the available channel modes for this control Iterate dwIndex until an error is returned to get allowed values for channel mode in *pwMode.

Parameters:
phSubSys  Pointer to HPI subsystem handle
hMode  Control to query
dwIndex  Index for possible attribute values
pwMode  mode

HPI_ERR HPI_ChannelModeSet HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
HW16  wMode
 

Set the channel mode.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  Subsystem handle
hControl  Handle of a Channel Mode control
wMode  One of the supported HPI_CHANNEL_MODE_XXX Channel Modes.

HPI_ERR HPI_ChannelModeGet HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
HW16 *  wMode
 

Get the current channel mode.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  Subsystem handle
hControl  Handle of a Channel Mode control
wMode  One of the supported HPI_CHANNEL_MODE_XXX Channel Modes.


Generated on Tue Nov 18 12:59:30 2008 for AudioScience HPI by  doxygen 1.4.6-NO