diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-01-29 22:23:44 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-01-29 22:50:26 -0500 |
| commit | 0db891894746f073dbaf3f755e5bf32e915808c0 (patch) | |
| tree | f5cdd9d14ac7fdd582e6bb6cc8b7cda015f59eed /src/core/hle/service/audio/audin_u.cpp | |
| parent | c3affdd162c7fafc630343e49905ee24effe7cef (diff) | |
service/audio: Update function tables
Updates function tables based off information provided by SwitchBrew.
Diffstat (limited to 'src/core/hle/service/audio/audin_u.cpp')
| -rw-r--r-- | src/core/hle/service/audio/audin_u.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cpp index 657010312..088410564 100644 --- a/src/core/hle/service/audio/audin_u.cpp +++ b/src/core/hle/service/audio/audin_u.cpp @@ -12,6 +12,7 @@ namespace Service::Audio { class IAudioIn final : public ServiceFramework<IAudioIn> { public: IAudioIn() : ServiceFramework("IAudioIn") { + // clang-format off static const FunctionInfo functions[] = { {0, nullptr, "GetAudioInState"}, {1, nullptr, "StartAudioIn"}, @@ -28,16 +29,24 @@ public: {12, nullptr, "SetAudioInDeviceGain"}, {13, nullptr, "GetAudioInDeviceGain"}, }; + // clang-format on + RegisterHandlers(functions); } ~IAudioIn() = default; }; AudInU::AudInU() : ServiceFramework("audin:u") { + // clang-format off static const FunctionInfo functions[] = { - {0, nullptr, "ListAudioIns"}, {1, nullptr, "OpenAudioIn"}, {2, nullptr, "Unknown"}, - {3, nullptr, "OpenAudioInAuto"}, {4, nullptr, "ListAudioInsAuto"}, + {0, nullptr, "ListAudioIns"}, + {1, nullptr, "OpenAudioIn"}, + {2, nullptr, "Unknown"}, + {3, nullptr, "OpenAudioInAuto"}, + {4, nullptr, "ListAudioInsAuto"}, }; + // clang-format on + RegisterHandlers(functions); } |
