mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-14 10:07:55 +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) {
|
||||
std::memset(request.outputBuf.at(0).data(), 0, request.outputBuf.at(0).size());
|
||||
request.outputBuf.at(0).copy_from(constant::DefaultAudioOutName);
|
||||
response.Push<u32>(1); // One audio out
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <kernel/types/KEvent.h>
|
||||
#include <services/serviceman.h>
|
||||
|
||||
namespace skyline {
|
||||
|
Loading…
x
Reference in New Issue
Block a user