Documentation ¶
Overview ¶
Package spec specifies valid audio formats
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioFormat ¶
type AudioFormat string
AudioFormat represents the bit allocation for a single sample of audio
const AudioF32 AudioFormat = "F32"
AudioF32 is floating-point 32-bit sample (per channel)
const AudioF64 AudioFormat = "F64"
AudioF64 is floating-point 64-bit sample (per channel)
const AudioS16 AudioFormat = "S16"
AudioS16 is signed-integer 16-bit sample (per channel)
const AudioS32 AudioFormat = "S32"
AudioS32 is signed-integer 32-bit sample (per channel)
const AudioS8 AudioFormat = "S8"
AudioS8 is signed-integer 8-bit sample (per channel)
const AudioU16 AudioFormat = "U16"
AudioU16 is unsigned-integer 16-bit sample (per channel)
const AudioU8 AudioFormat = "U8"
AudioU8 is unsigned-integer 8-bit sample (per channel)
Click to show internal directories.
Click to hide internal directories.