wav

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteHeader

func WriteHeader(w io.Writer, h *Header, pcmDataSize uint32) error

WriteHeader writes the WAV header to a writer. pcmDataSize is the size of the raw PCM data.

Types

type Header struct {
	SampleRate  uint32
	BitDepth    uint16
	NumChannels uint16
}

Header contains the WAV header information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL