1
0
Fork 0
forked from suyu/suyu

codecctl: Use proper names

This commit is contained in:
german77 2021-04-07 19:50:34 -06:00
parent ec0e644fb0
commit 247b1c14d2

View file

@ -8,19 +8,19 @@ namespace Service::Audio {
CodecCtl::CodecCtl(Core::System& system_) : ServiceFramework{system_, "codecctl"} { CodecCtl::CodecCtl(Core::System& system_) : ServiceFramework{system_, "codecctl"} {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "InitializeCodecController"}, {0, nullptr, "Initialize"},
{1, nullptr, "FinalizeCodecController"}, {1, nullptr, "Finalize"},
{2, nullptr, "SleepCodecController"}, {2, nullptr, "Sleep"},
{3, nullptr, "WakeCodecController"}, {3, nullptr, "Wake"},
{4, nullptr, "SetCodecVolume"}, {4, nullptr, "SetVolume"},
{5, nullptr, "GetCodecVolumeMax"}, {5, nullptr, "GetVolumeMax"},
{6, nullptr, "GetCodecVolumeMin"}, {6, nullptr, "GetVolumeMin"},
{7, nullptr, "SetCodecActiveTarget"}, {7, nullptr, "SetActiveTarget"},
{8, nullptr, "GetCodecActiveTarget"}, {8, nullptr, "GetActiveTarget"},
{9, nullptr, "BindCodecHeadphoneMicJackInterrupt"}, {9, nullptr, "BindHeadphoneMicJackInterrupt"},
{10, nullptr, "IsCodecHeadphoneMicJackInserted"}, {10, nullptr, "IsHeadphoneMicJackInserted"},
{11, nullptr, "ClearCodecHeadphoneMicJackInterrupt"}, {11, nullptr, "ClearHeadphoneMicJackInterrupt"},
{12, nullptr, "IsCodecDeviceRequested"}, {12, nullptr, "IsRequested"},
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }