Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
AudioDefinition.cs
1using Newtonsoft.Json;
2
4
8public sealed class AudioDefinition
9{
10 [Newtonsoft.Json.JsonIgnore]
11 internal DefinitionLoadStamp? LoadStamp { get; set; }
12
14
16 public List<AudioResourceDefinition> Resources { get; set; } = [];
17
22 [JsonIgnore]
24 {
25 get => _source;
26 set => _source = value ?? throw new ArgumentNullException(nameof(value));
27 }
28}
Captures provenance details for a Gondwana audio (.gsnd) definition.
static AudioDefinitionSource None()
Creates an empty definition-source descriptor.
Root definition for the GSND (Gondwana Sound) file format.
AudioDefinitionSource Source
Gets or sets runtime provenance metadata describing where this definition came from....
List< AudioResourceDefinition > Resources
Gets or sets the audio resources declared by this definition.