mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-20 15:48:43 +02:00
* 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.
29 lines
542 B
C#
29 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();
|
|
}
|
|
}
|