Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: ADV7612 / ADV7511 repeater SPDIF

$
0
0

HI Dani,

1) RetVal = ADIAPI_RepTxSetAudioInputInterface(AUD_IF_AUTO, REP_AUD_TYPE_AUTO);


This is used to configure the audio interface input and the packet type output of the TX device. If the audio is to be passed from RX to TX correctly, the RX audio output must be configured in a similar fashion.

This can also be used to configure the TX device to receive audio from an external source (e.g., DSP) in which case the RX audio output does not have to correspond to TX audio input settings.

if you want to use SPDIF , then AudInterface should be AUD_SPDIF instead of AUD_IF_AUTO.

 

AUD_IF_AUTO - AudInterface

Specify the input audio interface to the TX device. The AUD_SPDIF and AUD_I2S_SPDIF modes should not be used when the required output packet type is PKT_HBR_STREAM

If this parameter is set to AUD_IF_AUTO, the input audio interface will be set according to the received RX packet type. Auto mode will only select I2S, SPDIF or DSD as input interface.

REP_AUD_TYPE_AUTO - AudPktType

Specify the required audio packet type sent by the TX device. If the required packet type is PKT_HBR_STREAM, the input interface can not be AUD_SPDIF or AUD_I2S_SPDIF.

For most configurations, the packet type should be set to PKT_AUTO, in which case, the output packet type of the TX device will match the packet type received by the RX device.

 

2)RetVal = ADIAPI_RepRxSetAudioOutputInterface(AUD_IF_AUTO);

 

This is used to configure the audio interface output of the RX device. If the audio is to be passed from RX to TX correctly, the TX audio input must be configured in a similar fashion.

This API can also be used to configure the RX device to output audio to an external device (e.g., DSP)

if you want to use SPDIF , then AudInterface should be AUD_SPDIF instead of AUD_IF_AUTO.

AUD_IF_AUTO -AudInterface

Specify the output audio interface of the RX device. AUD_I2S should be used for HBR audio unless the selection is set to AUD_IF_AUTO, in which case I2S will be selected automatically if the received packet type is HBR.

 

Regards,

Poornima.


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>