mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-05 22:42:56 -06:00
![Mary](/assets/img/avatar_default.png)
* 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();
|
|
}
|
|
}
|