2017-01-26 23:40:46 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
2017-06-21 01:19:47 +03:00
|
|
|
|
namespace CsbBuilder.BuilderNodes
|
2017-01-26 23:40:46 +03:00
|
|
|
|
{
|
|
|
|
|
public class BuilderSoundElementNode : BuilderBaseNode
|
|
|
|
|
{
|
|
|
|
|
[ReadOnly(true)]
|
|
|
|
|
[Category("General")]
|
2021-03-19 22:24:07 +03:00
|
|
|
|
[Description("File path of audio to play before loop. This can be left empty if loop is set.")]
|
2017-01-26 23:40:46 +03:00
|
|
|
|
public string Intro { get; set; }
|
|
|
|
|
|
|
|
|
|
[ReadOnly(true)]
|
|
|
|
|
[Category("General")]
|
2021-03-19 22:24:07 +03:00
|
|
|
|
[Description("File path of audio to play after intro. This can be left empty if intro is set.")]
|
2017-01-26 23:40:46 +03:00
|
|
|
|
public string Loop { get; set; }
|
|
|
|
|
|
|
|
|
|
[ReadOnly(true)]
|
|
|
|
|
[Category("General"), DisplayName("Channel Count")]
|
2021-03-19 22:24:07 +03:00
|
|
|
|
[Description("Channel count of audio files. This information is used instead of the metadata in audio files.")]
|
2017-01-26 23:40:46 +03:00
|
|
|
|
public byte ChannelCount { get; set; }
|
|
|
|
|
|
|
|
|
|
[Category("General"), DisplayName("Streamed")]
|
2021-03-19 22:24:07 +03:00
|
|
|
|
[Description("Determines whether audio files are going to be streamed from a .cpk file.")]
|
2017-01-26 23:40:46 +03:00
|
|
|
|
public bool Streaming { get; set; }
|
|
|
|
|
|
|
|
|
|
[ReadOnly(true)]
|
|
|
|
|
[Category("General"), DisplayName("Sample Rate")]
|
2021-03-19 22:24:07 +03:00
|
|
|
|
[Description("Sample rate of audio files. This information is used instead of the metadata in audio files.")]
|
2017-01-26 23:40:46 +03:00
|
|
|
|
public uint SampleRate { get; set; }
|
|
|
|
|
|
|
|
|
|
[ReadOnly(true)]
|
|
|
|
|
[Category("General"), DisplayName("Sample Count")]
|
2021-03-19 22:24:07 +03:00
|
|
|
|
[Description("Sample count of audio files added together.")]
|
2017-01-26 23:40:46 +03:00
|
|
|
|
public uint SampleCount { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|