Comment out skipped lines, add TODO noting to look into what formats a stream supports before trying to make it use the 'default'.

This commit is contained in:
TomAwezome 2022-12-30 14:25:09 -05:00
parent 5696c3d0f1
commit 74b770870f

View file

@ -348,19 +348,19 @@ U0 HDTraverse(I64 cad, I64 nid)
switch (type) switch (type)
{ {
case AWT_OUTPUT: case AWT_OUTPUT:
if (FALSE) //if disabled // ???? // if (FALSE) //if disabled // ????
HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00); // HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00);
else // else
HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x10); 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); HDWriteCORBSync(cad, nid, VERB_PROCESS_STATE_SET + 0x01);
break; break;
case AWT_INPUT: case AWT_INPUT:
if (TRUE) //if disabled // ???? // if (TRUE) //if disabled // ????
HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00); HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x00);
else // else
HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x20); // HDWriteCORBSync(cad, nid, VERB_CHAN_STREAM_ID_SET + 0x20);
HDWriteCORBSync(cad, nid, VERB_STREAM_FMT_SET + HD_DFT_IN_FMT); HDWriteCORBSync(cad, nid, VERB_STREAM_FMT_SET + HD_DFT_IN_FMT); // TODO: check format streams support ?
HDWriteCORBSync(cad, nid, VERB_PROCESS_STATE_SET + 0x01); HDWriteCORBSync(cad, nid, VERB_PROCESS_STATE_SET + 0x01);
break; break;
case AWT_PIN_COMPLEX: case AWT_PIN_COMPLEX: