mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
29 lines
825 B
C#
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);
|
|
}
|
|
}
|