Class SoundAsset
Uncompressed PCM audio ready for OpenAL playback.
public sealed class SoundAsset
- Inheritance
-
SoundAsset
- Inherited Members
Constructors
SoundAsset(byte[], int, short, short)
Uncompressed PCM audio ready for OpenAL playback.
public SoundAsset(byte[] samples, int sampleRate, short channels, short bitsPerSample)
Parameters
Properties
BitsPerSample
public short BitsPerSample { get; }
Property Value
Channels
public short Channels { get; }
Property Value
SampleRate
public int SampleRate { get; }
Property Value
Samples
public ReadOnlyMemory<byte> Samples { get; }