summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio/audout_u.cpp
blob: c028262c666e36fd3b5c95d62c50ab955b7b1b98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/logging/log.h"
#include "core/hle/ipc_helpers.h"
#include "core/hle/service/audio/audout_u.h"

namespace Service {
namespace Audio {

void AudOutU::ListAudioOuts(Kernel::HLERequestContext& ctx) {
    LOG_WARNING(Service, "(STUBBED) called");
    IPC::RequestBuilder rb{ctx, 2};
    rb.Push(RESULT_SUCCESS);
}

AudOutU::AudOutU() : ServiceFramework("audout:u") {
    static const FunctionInfo functions[] = {
        {0x00000000, &AudOutU::ListAudioOuts, "ListAudioOuts"},
    };
    RegisterHandlers(functions);
}

} // namespace Audio
} // namespace Service