AudioScience HPI Version_4.24.1
|
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...
Enumerations | |
enum | HPI_CHANNEL_MODES { HPI_CHANNEL_MODE_NORMAL = 1, HPI_CHANNEL_MODE_SWAP = 2, HPI_CHANNEL_MODE_LEFT_TO_STEREO = 3, HPI_CHANNEL_MODE_RIGHT_TO_STEREO = 4, HPI_CHANNEL_MODE_STEREO_TO_LEFT = 5, HPI_CHANNEL_MODE_STEREO_TO_RIGHT = 6 } |
Channel Modes Used for HPI_ChannelModeSet/Get() More... | |
Functions | |
hpi_err_t | HPI_ChannelMode_QueryMode (const hpi_hsubsys_t *phSubSys, const hpi_handle_t hMode, const uint32_t dwIndex, uint16_t *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_t | HPI_ChannelModeSet (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t wMode) |
Set the channel mode. | |
hpi_err_t | HPI_ChannelModeGet (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t *wMode) |
Get the current channel mode. |
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.
enum HPI_CHANNEL_MODES |
Channel Modes Used for HPI_ChannelModeSet/Get()
hpi_err_t HPI_ChannelMode_QueryMode | ( | const hpi_hsubsys_t * | phSubSys, |
const hpi_handle_t | hMode, | ||
const uint32_t | dwIndex, | ||
uint16_t * | 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.
phSubSys | Vestigial subsys handle (unused), may be set to NULL |
hMode | Control to query |
dwIndex | Index for possible attribute values |
pwMode | mode |
References HPI_ControlQuery().
hpi_err_t HPI_ChannelModeSet | ( | const hpi_hsubsys_t * | phSubSys, |
hpi_handle_t | hControl, | ||
uint16_t | wMode | ||
) |
Set the channel mode.
phSubSys | Vestigial subsys handle (unused), may be set to NULL |
hControl | Handle of a Channel Mode control |
wMode | One of the supported HPI_CHANNEL_MODES |
hpi_err_t HPI_ChannelModeGet | ( | const hpi_hsubsys_t * | phSubSys, |
hpi_handle_t | hControl, | ||
uint16_t * | wMode | ||
) |
Get the current channel mode.
phSubSys | Vestigial subsys handle (unused), may be set to NULL |
hControl | Handle of a Channel Mode control |
wMode | One of the supported HPI_CHANNEL_MODES. |