mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-28 11:33:06 +00:00
1825bd87b4
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.
37 lines
No EOL
963 B
C#
37 lines
No EOL
963 B
C#
using Ryujinx.Audio.Integration;
|
|
|
|
namespace Ryujinx.Audio.Common
|
|
{
|
|
/// <summary>
|
|
/// Represent an audio buffer that will be used by an <see cref="IHardwareDeviceSession"/>.
|
|
/// </summary>
|
|
public class AudioBuffer
|
|
{
|
|
/// <summary>
|
|
/// Unique tag of this buffer.
|
|
/// </summary>
|
|
/// <remarks>Unique per session</remarks>
|
|
public ulong BufferTag;
|
|
|
|
/// <summary>
|
|
/// Pointer to the user samples.
|
|
/// </summary>
|
|
public ulong DataPointer;
|
|
|
|
/// <summary>
|
|
/// Size of the user samples region.
|
|
/// </summary>
|
|
public ulong DataSize;
|
|
|
|
/// <summary>
|
|
/// The timestamp at which the buffer was played.
|
|
/// </summary>
|
|
/// <remarks>Not used but useful for debugging</remarks>
|
|
public ulong PlayedTimestamp;
|
|
|
|
/// <summary>
|
|
/// The user samples.
|
|
/// </summary>
|
|
public byte[] Data;
|
|
}
|
|
} |