wavwriter

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: GPL-3.0, GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wavwriter allows writing of audio data to disk as a WAV file. Note that audio data is buffered in memory in its entirity, and written to disk on program end. It is therefore probably only suitable for testing purposes.

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 New

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

New is the preferred method of initialisation for the Audio2Wav type.

func (*WavWriter) EndMixing

func (aw *WavWriter) EndMixing() (rerr 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