From 74b770870f6de2e9533ff1f2db1d96a5b3bf191e Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Fri, 30 Dec 2022 14:25:09 -0500 Subject: [PATCH] Comment out skipped lines, add TODO noting to look into what formats a stream supports before trying to make it use the 'default'. --- src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC index df60f5b6..fa61cc34 100644 --- a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC +++ b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC @@ -348,19 +348,19 @@ U0 HDTraverse(I64 cad, I64 nid) switch (type) { case AWT_OUTPUT: - if (FALSE) //if disabled // ???? - HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00); - else +// if (FALSE) //if disabled // ???? +// HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00); +// else HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x10); - HDWriteCORBSync(cad, nid, VERB_STREAM_FMT_SET + HD_DFT_OUT_FMT); + HDWriteCORBSync(cad, nid, VERB_STREAM_FMT_SET + HD_DFT_OUT_FMT); // TODO: check format streams support ? HDWriteCORBSync(cad, nid, VERB_PROCESS_STATE_SET + 0x01); break; case AWT_INPUT: - if (TRUE) //if disabled // ???? +// if (TRUE) //if disabled // ???? HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00); - else - HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x20); - HDWriteCORBSync(cad, nid, VERB_STREAM_FMT_SET + HD_DFT_IN_FMT); +// else +// HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x20); + HDWriteCORBSync(cad, nid, VERB_STREAM_FMT_SET + HD_DFT_IN_FMT); // TODO: check format streams support ? HDWriteCORBSync(cad, nid, VERB_PROCESS_STATE_SET + 0x01); break; case AWT_PIN_COMPLEX: