@ -11,19 +11,19 @@ namespace Service::Audio {
CodecCtl : : CodecCtl ( ) : ServiceFramework ( " codecctl " ) {
static const FunctionInfo functions [ ] = {
{ 0x0000000 0, nullptr , " InitializeCodecController " } ,
{ 0x0000000 1, nullptr , " FinalizeCodecController " } ,
{ 0x0000000 2, nullptr , " SleepCodecController " } ,
{ 0x0000000 3, nullptr , " WakeCodecController " } ,
{ 0x0000000 4, nullptr , " SetCodecVolume " } ,
{ 0x0000000 5, nullptr , " GetCodecVolumeMax " } ,
{ 0x0000000 6, nullptr , " GetCodecVolumeMin " } ,
{ 0x0000000 7, nullptr , " SetCodecActiveTarget " } ,
{ 0x00000008 , nullptr , " Unknown " } ,
{ 0x0000000 9, nullptr , " BindCodecHeadphoneMicJackInterrupt " } ,
{ 0x000000 10, nullptr , " IsCodecHeadphoneMicJackInserted " } ,
{ 0x000000 11, nullptr , " ClearCodecHeadphoneMicJackInterrupt " } ,
{ 0x000000 12, nullptr , " IsCodecDeviceRequested " } ,
{ 0, nullptr , " InitializeCodecController " } ,
{ 1, nullptr , " FinalizeCodecController " } ,
{ 2, nullptr , " SleepCodecController " } ,
{ 3, nullptr , " WakeCodecController " } ,
{ 4, nullptr , " SetCodecVolume " } ,
{ 5, nullptr , " GetCodecVolumeMax " } ,
{ 6, nullptr , " GetCodecVolumeMin " } ,
{ 7, nullptr , " SetCodecActiveTarget " } ,
{ 8 , nullptr , " GetCodecActiveTarget " } ,
{ 9, nullptr , " BindCodecHeadphoneMicJackInterrupt " } ,
{ 10, nullptr , " IsCodecHeadphoneMicJackInserted " } ,
{ 11, nullptr , " ClearCodecHeadphoneMicJackInterrupt " } ,
{ 12, nullptr , " IsCodecDeviceRequested " } ,
} ;
RegisterHandlers ( functions ) ;
}