mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-06 16:19:25 +02:00
resolve requested changes
This commit is contained in:
parent
7afba1d91a
commit
9edbbcfa24
@ -104,8 +104,8 @@ u32 audoutGetChannelCount(void); ///< Supported channel count
|
||||
PcmFormat audoutGetPcmFormat(void); ///< Supported PCM format (Int16).
|
||||
AudioOutState audoutGetDeviceState(void); ///< Initial device state (stopped).
|
||||
|
||||
Result audoutaRequestSuspend(u64 pid, u64 delay); // [4.0.0]+
|
||||
Result audoutaRequestResume(u64 pid, u64 delay); // [4.0.0]+
|
||||
Result audoutaRequestSuspend(u64 pid, u64 delay); // [4.0.0+]
|
||||
Result audoutaRequestResume(u64 pid, u64 delay); // [4.0.0+]
|
||||
Result audoutaGetProcessMasterVolume(u64 pid, float* volume_out);
|
||||
Result audoutaSetProcessMasterVolume(u64 pid, u64 delay, float volume);
|
||||
Result audoutaGetProcessRecordVolume(u64 pid, float* volume_out);
|
||||
|
@ -21,6 +21,9 @@ void _audaCleanup(void) {
|
||||
}
|
||||
|
||||
Result _auddInitialize(void) {
|
||||
if (hosversionBefore(11,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
return smGetService(&g_auddSrv, "aud:d");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user