Table of Contents

Enum SoundFileSubtype

Namespace
NAudio.SoundFile
Assembly
NAudio.SoundFile.dll

The sample encoding stored inside the file. Default lets the writer pick the natural subtype for the chosen SoundFileMajorFormat (e.g. Vorbis for Ogg/Vorbis, 16-bit PCM for WAV).

public enum SoundFileSubtype

Fields

Default = 0

Pick the natural subtype for the major format.

Double = 7

64-bit IEEE double.

Float = 6

32-bit IEEE float.

Mp3 = 10

MPEG Layer III.

Opus = 9

Xiph Opus.

Pcm16 = 3

Signed 16-bit PCM.

Pcm24 = 4

Signed 24-bit PCM.

Pcm32 = 5

Signed 32-bit PCM.

PcmS8 = 2

Signed 8-bit PCM.

PcmU8 = 1

Unsigned 8-bit PCM.

Vorbis = 8

Xiph Vorbis.