mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-12-03 08:32:53 -05:00
Migrate Audio service to new IPC (#6285)
* Migrate audren to new IPC * Migrate audout * Migrate audin * Migrate hwopus * Bye bye old audio service * Switch volume control to IHardwareDeviceDriver * Somewhat unrelated changes * Remove Concentus reference from HLE * Implement OpenAudioRendererForManualExecution * Remove SetVolume/GetVolume methods that are not necessary * Remove SetVolume/GetVolume methods that are not necessary (2) * Fix incorrect volume update * PR feedback * PR feedback * Stub audrec * Init outParameter * Make FinalOutputRecorderParameter/Internal readonly * Make FinalOutputRecorder IDisposable * Fix HardwareOpusDecoderManager parameter buffers * Opus work buffer size and error handling improvements * Add AudioInProtocolName enum * Fix potential divisions by zero
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Ryujinx.Memory;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Horizon.Common
|
||||
@@ -29,5 +30,9 @@ namespace Ryujinx.Horizon.Common
|
||||
Result CreatePort(out int serverPortHandle, out int clientPortHandle, int maxSessions, bool isLight, string name);
|
||||
Result ManageNamedPort(out int handle, string name, int maxSessions);
|
||||
Result ConnectToPort(out int clientSessionHandle, int clientPortHandle);
|
||||
|
||||
IExternalEvent GetExternalEvent(int handle);
|
||||
IVirtualMemoryManager GetMemoryManagerByProcessHandle(int handle);
|
||||
ulong GetTransferMemoryAddress(int handle);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user