mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 02:27:08 +02:00
* Removed the Interfaces folder. * All objects inside the GameObjects subfolders are now in the GameObjects namespace. * Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces. * Simplified Robust.client.Graphics namespace. * Automated remove redundant using statements.
22 lines
554 B
C#
22 lines
554 B
C#
using System;
|
|
using Robust.Client.Graphics;
|
|
|
|
namespace Robust.Client.Audio
|
|
{
|
|
public sealed class AudioStream
|
|
{
|
|
public TimeSpan Length { get; }
|
|
internal ClydeHandle? ClydeHandle { get; }
|
|
public string? Name { get; }
|
|
public int ChannelCount { get; }
|
|
|
|
internal AudioStream(ClydeHandle handle, TimeSpan length, int channelCount, string? name = null)
|
|
{
|
|
ClydeHandle = handle;
|
|
Length = length;
|
|
ChannelCount = channelCount;
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|