1
0
Fork 0
forked from Mirror/Ryujinx
Ryujinx/Ryujinx.Audio/Integration/IHardwareDeviceSession.cs
Mary-nyan 1825bd87b4
misc: Reformat Ryujinx.Audio with dotnet-format ()
This is the first commit of a series of reformat around the codebase as
discussed internally some weeks ago.

This project being one that isn't touched that much, it shouldn't cause
conflict with any opened PRs.
2022-07-25 15:46:33 -03:00

28 lines
No EOL
541 B
C#

using Ryujinx.Audio.Common;
using System;
namespace Ryujinx.Audio.Integration
{
public interface IHardwareDeviceSession : IDisposable
{
bool RegisterBuffer(AudioBuffer buffer);
void UnregisterBuffer(AudioBuffer buffer);
void QueueBuffer(AudioBuffer buffer);
bool WasBufferFullyConsumed(AudioBuffer buffer);
void SetVolume(float volume);
float GetVolume();
ulong GetPlayedSampleCount();
void Start();
void Stop();
void PrepareToClose();
}
}