wavwriter

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wavwriter allows writing of audio data to disk as a WAV file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WavWriter

type WavWriter struct {
	// contains filtered or unexported fields
}

WavWriter implements the television.AudioMixer interface

func NewWavWriter added in v0.16.0

func NewWavWriter(filename string) (*WavWriter, error)

New is the preferred method of initialisation for the WavWriter type

func (*WavWriter) EndMixing

func (aw *WavWriter) EndMixing() error

EndMixing implements the television.AudioMixer interface

func (*WavWriter) Reset added in v0.8.0

func (aw *WavWriter) Reset()

Reset implements the television.AudioMixer interface

func (*WavWriter) SetAudio

func (aw *WavWriter) SetAudio(sig []signal.SignalAttributes) error

SetAudio implements the television.AudioMixer interface.

Jump to

Keyboard shortcuts

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