mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-14 20:57:58 +03:00
Return number of audio outs in ListAudioOuts
This commit is contained in:
parent
5d6902b3f8
commit
f5bcb40c41
@ -11,6 +11,7 @@ namespace skyline::service::audio {
|
|||||||
Result IAudioOutManager::ListAudioOuts(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
Result IAudioOutManager::ListAudioOuts(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
std::memset(request.outputBuf.at(0).data(), 0, request.outputBuf.at(0).size());
|
std::memset(request.outputBuf.at(0).data(), 0, request.outputBuf.at(0).size());
|
||||||
request.outputBuf.at(0).copy_from(constant::DefaultAudioOutName);
|
request.outputBuf.at(0).copy_from(constant::DefaultAudioOutName);
|
||||||
|
response.Push<u32>(1); // One audio out
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <kernel/types/KEvent.h>
|
|
||||||
#include <services/serviceman.h>
|
#include <services/serviceman.h>
|
||||||
|
|
||||||
namespace skyline {
|
namespace skyline {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user