rockchip: tinyalsa_hal: add HDMI 1 support for box
Signed-off-by: hmz007 <hmz007@gmail.com>
This commit is contained in:
@@ -1316,6 +1316,14 @@ static void open_sound_card_policy(struct stream_out *out)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SUPPORT_VX_ROCKCHIP
|
||||
if(adev->dev_out[SND_OUT_SOUND_CARD_HDMI_1].card != SND_OUT_SOUND_CARD_UNKNOWN) {
|
||||
if(adev->outputs[OUTPUT_HDMI_MULTI] == NULL) {
|
||||
out->devices[out->num_configs++] = VX_ROCKCHIP_OUT_HDMI0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if(adev->dev_out[SND_OUT_SOUND_CARD_SPDIF].card != SND_OUT_SOUND_CARD_UNKNOWN){
|
||||
out->devices[out->num_configs++] = AUDIO_DEVICE_OUT_SPDIF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user