|
|
发表于 2025-9-25 11:42:36
|
显示全部楼层
MDE:
audio_output_group_main contains:
· audio_output_primary_left //pr
· audio_output_primary_right //pl
· audio_output_secondary_left //sl
· audio_output_secondary_right //sr
· audio_output_wired_sub //subwoofer
#define NUMBER_OF_AUDIO_OUTPUTS 7
Next cod MDE:
if(lp && rp && ls && rs)
{
speaker_config = speaker_stereo_xover; // If you set left primary, right primary, left secondary, and right secondary in ADK, it will be a 2+2 stereo system for bi-amping with crossover separation (2Mid+2Tweeter)
}
else if (lp && rp && sw)
{
speaker_config = speaker_stereo_bass; // If you set lp, rp, and subwoofer in ADK, the DSP chain will be built for a 2.1 system (2MID+SUB) with crossover separation (up to 12th order)
}
else if (lp && rp && !ls && !rs)
{
speaker_config = speaker_stereo; // Regular stereo
}
else if (lp && !rp && !ls && !rs)
{
speaker_config = speaker_mono; // A single mono speaker
}
else
{
Panic();
}
|
|