The AESEBU transmitter transmits audio via a standard digital audio interface (AESEBU or SPDIF).
More...
|
| hpi_err_t | HPI_AESEBU_Transmitter_SetSampleRate (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint32_t dwSampleRate) |
| | Set the AES/EBU transmitters sample rate. More...
|
| |
| hpi_err_t | HPI_AESEBU_Transmitter_SetUserData (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t wIndex, uint16_t wData) |
| | Set one of 4 userdata bytes in the AES/EBU stream. More...
|
| |
| hpi_err_t | HPI_AESEBU_Transmitter_SetChannelStatus (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t wIndex, uint16_t wData) |
| | Set one of 24 channel status bytes in the AES/EBU stream. More...
|
| |
| hpi_err_t | HPI_AESEBU_Transmitter_GetChannelStatus (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t wIndex, uint16_t *pwData) |
| | Get a byte of channel status in the AES/EBU stream. More...
|
| |
| hpi_err_t | HPI_AESEBU_Transmitter_QueryFormat (const hpi_hsubsys_t *phSubSys, const hpi_handle_t hAesTx, const uint32_t dwIndex, uint16_t *pwFormat) |
| | Query the formats supported by this AESEBU transmitter Iterate dwIndex until an error is returned to get allowed values for aesebu format in *pwFormat. More...
|
| |
| hpi_err_t | HPI_AESEBU_Transmitter_SetFormat (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t wOutputFormat) |
| | Set the output electrical format for the AESEBU transmitter. More...
|
| |
| hpi_err_t | HPI_AESEBU_Transmitter_GetFormat (const hpi_hsubsys_t *phSubSys, hpi_handle_t hControl, uint16_t *pwOutputFormat) |
| | Get the current output electrical format for the AESEBU transmitter. More...
|
| |
The AESEBU transmitter transmits audio via a standard digital audio interface (AESEBU or SPDIF).
◆ HPI_AESEBU_FORMATS
The physical encoding format of the AESEBU I/O.
Used in HPI_AESEBU_Transmitter_SetFormat(), HPI_AESEBU_Receiver_SetFormat() along with related Get and Query functions
| Enumerator |
|---|
| HPI_AESEBU_FORMAT_AESEBU | AES/EBU physical format - AES/EBU balanced "professional".
|
| HPI_AESEBU_FORMAT_SPDIF | AES/EBU physical format - S/PDIF unbalanced "consumer".
|
◆ HPI_AESEBU_Transmitter_SetSampleRate()
| hpi_err_t HPI_AESEBU_Transmitter_SetSampleRate |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
hpi_handle_t |
hControl, |
|
|
uint32_t |
dwSampleRate |
|
) |
| |
Set the AES/EBU transmitters sample rate.
This is only valid if the source is the analog mixer if the source is an outstream, then the samplerate will be that of the outstream.
- Returns
- 0 on success, or one of the HPI_ERROR_CODES.
- Note
- Not all audio adapters will have both kinds of inputs.
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hControl | Handle to control of type HPI_CONTROL_AESEBU_TRANSMITTER. |
| dwSampleRate | 32000, 44100 or 48000. |
◆ HPI_AESEBU_Transmitter_SetUserData()
| hpi_err_t HPI_AESEBU_Transmitter_SetUserData |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
hpi_handle_t |
hControl, |
|
|
uint16_t |
wIndex, |
|
|
uint16_t |
wData |
|
) |
| |
Set one of 4 userdata bytes in the AES/EBU stream.
- Returns
- 0 on success, or one of the HPI_ERROR_CODES.
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hControl | Handle to control of type HPI_CONTROL_AESEBU_TRANSMITTER |
| wIndex | byte index ranges from 0..3 |
| wData | user data to set (? only byte values 0..255 allowed?) |
◆ HPI_AESEBU_Transmitter_SetChannelStatus()
| hpi_err_t HPI_AESEBU_Transmitter_SetChannelStatus |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
hpi_handle_t |
hControl, |
|
|
uint16_t |
wIndex, |
|
|
uint16_t |
wData |
|
) |
| |
Set one of 24 channel status bytes in the AES/EBU stream.
- Returns
- 0 on success, or one of the HPI_ERROR_CODES.
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hControl | Handle to control of type HPI_CONTROL_AESEBU_TRANSMITTER. |
| wIndex | byte index ranges from 0..23. |
| wData | channel status data to write (? only byte values 0..255 allowed?). |
◆ HPI_AESEBU_Transmitter_GetChannelStatus()
| hpi_err_t HPI_AESEBU_Transmitter_GetChannelStatus |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
hpi_handle_t |
hControl, |
|
|
uint16_t |
wIndex, |
|
|
uint16_t * |
pwData |
|
) |
| |
Get a byte of channel status in the AES/EBU stream.
- Warning
- Currently disabled pending debug of DSP code.
- Returns
- 0 on success, or one of the HPI_ERROR_CODES.
- Return values
-
| Always | HPI_ERROR_INVALID_OPERATION. |
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hControl | Handle to control of type HPI_CONTROL_AESEBU_TRANSMITTER. |
| wIndex | byte index ranges from 0..23. |
| pwData | read channel status data. |
◆ HPI_AESEBU_Transmitter_QueryFormat()
| hpi_err_t HPI_AESEBU_Transmitter_QueryFormat |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
const hpi_handle_t |
hAesTx, |
|
|
const uint32_t |
dwIndex, |
|
|
uint16_t * |
pwFormat |
|
) |
| |
Query the formats supported by this AESEBU transmitter Iterate dwIndex until an error is returned to get allowed values for aesebu format in *pwFormat.
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hAesTx | Control to query |
| dwIndex | Index for possible attribute values |
| pwFormat | aesebu format one of the HPI_AESEBU_FORMATS |
References HPI_ControlQuery().
◆ HPI_AESEBU_Transmitter_SetFormat()
| hpi_err_t HPI_AESEBU_Transmitter_SetFormat |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
hpi_handle_t |
hControl, |
|
|
uint16_t |
wOutputFormat |
|
) |
| |
Set the output electrical format for the AESEBU transmitter.
Some adapters only support one of the two formats (usually AESEBU).
- Returns
- 0 on success, or one of the HPI_ERROR_CODES.
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hControl | Handle to control of type HPI_CONTROL_AESEBU_TRANSMITTER. |
| wOutputFormat | one of the HPI_AESEBU_FORMATS |
◆ HPI_AESEBU_Transmitter_GetFormat()
| hpi_err_t HPI_AESEBU_Transmitter_GetFormat |
( |
const hpi_hsubsys_t * |
phSubSys, |
|
|
hpi_handle_t |
hControl, |
|
|
uint16_t * |
pwOutputFormat |
|
) |
| |
Get the current output electrical format for the AESEBU transmitter.
- Returns
- 0 on success, or one of the HPI_ERROR_CODES.
- Parameters
-
| phSubSys | Vestigial subsys handle (unused), may be set to NULL |
| hControl | Handle to control of type HPI_CONTROL_AESEBU_TRANSMITTER. |
| pwOutputFormat | Current format, one of the HPI_AESEBU_FORMATS. |