Kernel: Add support for iHDA Selectors
Again this has not been tested as I don't have any hardware with Selector on an usable output path. My T61 does have Selectors but they are not used for the internal speakers. The T61 does have mixers though so they seem to be working fine!
This commit is contained in:
@@ -343,6 +343,7 @@ namespace Kernel
|
|||||||
using HDAudio::AFGWidget;
|
using HDAudio::AFGWidget;
|
||||||
case AFGWidget::Type::OutputConverter:
|
case AFGWidget::Type::OutputConverter:
|
||||||
case AFGWidget::Type::Mixer:
|
case AFGWidget::Type::Mixer:
|
||||||
|
case AFGWidget::Type::Selector:
|
||||||
case AFGWidget::Type::PinComplex:
|
case AFGWidget::Type::PinComplex:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -439,6 +440,9 @@ namespace Kernel
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case AFGWidget::Type::Selector:
|
||||||
|
break;
|
||||||
|
|
||||||
case AFGWidget::Type::PinComplex:
|
case AFGWidget::Type::PinComplex:
|
||||||
// enable output and H-Phn
|
// enable output and H-Phn
|
||||||
TRY(m_controller->send_command({
|
TRY(m_controller->send_command({
|
||||||
@@ -525,6 +529,7 @@ namespace Kernel
|
|||||||
|
|
||||||
case AFGWidget::Type::OutputConverter:
|
case AFGWidget::Type::OutputConverter:
|
||||||
case AFGWidget::Type::Mixer:
|
case AFGWidget::Type::Mixer:
|
||||||
|
case AFGWidget::Type::Selector:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AFGWidget::Type::PinComplex:
|
case AFGWidget::Type::PinComplex:
|
||||||
|
|||||||
Reference in New Issue
Block a user