fxxk

package module
v0.0.0-...-6cdfebe Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Utilities that beep should have came with.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFullStreamer

func NewFullStreamer(streamer beep.Streamer) beep.Streamer

NewFullStreamer wraps a streamer to always read full.

Types

type BufferConfig

type BufferConfig struct {
	Target   time.Duration
	Min      time.Duration
	Max      time.Duration
	Overruns bool
}

type RealtimeStream

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

func NewRealtimeStream

func NewRealtimeStream(streamer beep.Streamer, sampleRate beep.SampleRate, bufferConfig BufferConfig) *RealtimeStream

func (*RealtimeStream) Err

func (r *RealtimeStream) Err() error

func (*RealtimeStream) Stream

func (r *RealtimeStream) Stream(samples [][2]float64) (n int, ok bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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