mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-19 07:08:43 +02:00
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.
28 lines
541 B
C#
28 lines
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();
|
|
}
|
|
} |