diff options
author | Hexagon12 <Hexagon12@users.noreply.github.com> | 2018-04-10 17:47:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 17:47:52 +0200 |
commit | 4cf4a5ecdca6a5841b41c87ec8270c560697311e (patch) | |
tree | 3a2f5e1a384406ceeae52e2d4b04428f47dee948 /src/core/hle/service/audio | |
parent | Updated AOC with more service names. (diff) | |
download | yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.tar yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.tar.gz yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.tar.bz2 yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.tar.lz yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.tar.xz yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.tar.zst yuzu-4cf4a5ecdca6a5841b41c87ec8270c560697311e.zip |
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r-- | src/core/hle/service/audio/audin_u.cpp | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cpp index ee749fddd..f312c5778 100644 --- a/src/core/hle/service/audio/audin_u.cpp +++ b/src/core/hle/service/audio/audin_u.cpp @@ -14,15 +14,20 @@ class IAudioIn final : public ServiceFramework<IAudioIn> { public: IAudioIn() : ServiceFramework("IAudioIn") { static const FunctionInfo functions[] = { - {0x0, nullptr, "GetAudioInState"}, - {0x1, nullptr, "StartAudioIn"}, - {0x2, nullptr, "StopAudioIn"}, - {0x3, nullptr, "AppendAudioInBuffer_1"}, - {0x4, nullptr, "RegisterBufferEvent"}, - {0x5, nullptr, "GetReleasedAudioInBuffer_1"}, - {0x6, nullptr, "ContainsAudioInBuffer"}, - {0x7, nullptr, "AppendAudioInBuffer_2"}, - {0x8, nullptr, "GetReleasedAudioInBuffer_2"}, + {0, nullptr, "GetAudioInState"}, + {1, nullptr, "StartAudioIn"}, + {2, nullptr, "StopAudioIn"}, + {3, nullptr, "AppendAudioInBuffer"}, + {4, nullptr, "RegisterBufferEvent"}, + {5, nullptr, "GetReleasedAudioInBuffer"}, + {6, nullptr, "ContainsAudioInBuffer"}, + {7, nullptr, "AppendAudioInBufferWithUserEvent"}, + {8, nullptr, "AppendAudioInBufferAuto"}, + {9, nullptr, "GetReleasedAudioInBufferAuto"}, + {10, nullptr, "AppendAudioInBufferWithUserEventAuto"}, + {11, nullptr, "GetAudioInBufferCount"}, + {12, nullptr, "SetAudioInDeviceGain"}, + {13, nullptr, "GetAudioInDeviceGain"}, }; RegisterHandlers(functions); } @@ -33,6 +38,8 @@ AudInU::AudInU() : ServiceFramework("audin:u") { static const FunctionInfo functions[] = { {0x00000000, nullptr, "ListAudioIns"}, {0x00000001, nullptr, "OpenAudioIn"}, + {0x00000003, nullptr, "OpenAudioInAuto"}, + {0x00000004, nullptr, "ListAudioInsAuto"}, }; RegisterHandlers(functions); } |