mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
4c2ab880ef
* Ryujinx.Audio: Remove BOM from files * misc: Relicense Ryujinx.Audio under the terms of the MIT license With the approvals of all the Ryujinx.Audio contributors, this commit changes Ryujinx.Audio license from LGPLv3 to MIT.
28 lines
542 B
C#
28 lines
542 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();
|
|
}
|
|
}
|