mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-25 21:21:20 -08:00
Updated audin with more service names.
This commit is contained in:
parent
c79c9755b4
commit
4cf4a5ecdc
@ -14,15 +14,20 @@ class IAudioIn final : public ServiceFramework<IAudioIn> {
|
|||||||
public:
|
public:
|
||||||
IAudioIn() : ServiceFramework("IAudioIn") {
|
IAudioIn() : ServiceFramework("IAudioIn") {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0x0, nullptr, "GetAudioInState"},
|
{0, nullptr, "GetAudioInState"},
|
||||||
{0x1, nullptr, "StartAudioIn"},
|
{1, nullptr, "StartAudioIn"},
|
||||||
{0x2, nullptr, "StopAudioIn"},
|
{2, nullptr, "StopAudioIn"},
|
||||||
{0x3, nullptr, "AppendAudioInBuffer_1"},
|
{3, nullptr, "AppendAudioInBuffer"},
|
||||||
{0x4, nullptr, "RegisterBufferEvent"},
|
{4, nullptr, "RegisterBufferEvent"},
|
||||||
{0x5, nullptr, "GetReleasedAudioInBuffer_1"},
|
{5, nullptr, "GetReleasedAudioInBuffer"},
|
||||||
{0x6, nullptr, "ContainsAudioInBuffer"},
|
{6, nullptr, "ContainsAudioInBuffer"},
|
||||||
{0x7, nullptr, "AppendAudioInBuffer_2"},
|
{7, nullptr, "AppendAudioInBufferWithUserEvent"},
|
||||||
{0x8, nullptr, "GetReleasedAudioInBuffer_2"},
|
{8, nullptr, "AppendAudioInBufferAuto"},
|
||||||
|
{9, nullptr, "GetReleasedAudioInBufferAuto"},
|
||||||
|
{10, nullptr, "AppendAudioInBufferWithUserEventAuto"},
|
||||||
|
{11, nullptr, "GetAudioInBufferCount"},
|
||||||
|
{12, nullptr, "SetAudioInDeviceGain"},
|
||||||
|
{13, nullptr, "GetAudioInDeviceGain"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
@ -33,6 +38,8 @@ AudInU::AudInU() : ServiceFramework("audin:u") {
|
|||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0x00000000, nullptr, "ListAudioIns"},
|
{0x00000000, nullptr, "ListAudioIns"},
|
||||||
{0x00000001, nullptr, "OpenAudioIn"},
|
{0x00000001, nullptr, "OpenAudioIn"},
|
||||||
|
{0x00000003, nullptr, "OpenAudioInAuto"},
|
||||||
|
{0x00000004, nullptr, "ListAudioInsAuto"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user