mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* 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
18 lines
369 B
C#
18 lines
369 B
C#
namespace Ryujinx.Horizon.Audio
|
|
{
|
|
class AudioMain : IService
|
|
{
|
|
public static void Main(ServiceTable serviceTable)
|
|
{
|
|
AudioUserIpcServer ipcServer = new();
|
|
|
|
ipcServer.Initialize();
|
|
|
|
serviceTable.SignalServiceReady();
|
|
|
|
ipcServer.ServiceRequests();
|
|
ipcServer.Shutdown();
|
|
}
|
|
}
|
|
}
|