Vixen
02b45cc4
csharp
public enum AudioSampleFormat

How one sample is stored.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Two, and no more, because these are the two every audio API on every platform accepts without a conversion pass. Twenty-four-bit and packed formats exist in files and not in device buffers; the importer converts on the way in, which is the only place the cost is paid once.

Fields and properties (2)

  • Int16

    Signed 16-bit, the baseline for sound effects. Half the memory, and below the noise floor of most of them.

  • Float32

    32-bit float in −1..1. What a mixer wants, and what a 24-bit or float source keeps its headroom in.

Used by (13)

  • AudioClipVixen.Audio
  • AudioClipTestsVixen.Audio.Tests
  • AudioTestDataVixen.Audio.Tests
  • ClipSampleProviderVixen.Audio
  • OpenALBackendTestsVixen.Audio.Backend.OpenAL.Tests
  • PcmStreamDecoderVixen.Audio
  • StreamingTestsVixen.Audio.Tests
  • TypeRegistrationVixen.Audio
  • Vixen_Audio_AudioClipSerializerVixen.Audio
  • AudioImporterVixen.Editor.Assets
  • AudioImporterTestsVixen.Editor.Assets.Tests
  • WaveDecoderVixen.Editor.Assets
  • WaveDecoderTestsVixen.Editor.Assets.Tests