brutal/Brutal.OpenAl/Generated/Al/AlSource.Verbs.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

29 lines
825 B
C#

// <auto-generated/>
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.OpenAlApi
{
public readonly unsafe partial struct AlSource
{
/// <summary>
/// Pauses playback of the source.
/// </summary>
public void Pause() => Al.PInvoke.SourcePause(Name);
/// <summary>
/// Starts or resumes playback of the source.
/// </summary>
public void Play() => Al.PInvoke.SourcePlay(Name);
/// <summary>
/// Rewinds the source to the start of its buffer.
/// </summary>
public void Rewind() => Al.PInvoke.SourceRewind(Name);
/// <summary>
/// Stops playback of the source.
/// </summary>
public void Stop() => Al.PInvoke.SourceStop(Name);
}
}