mix

package
v0.0.0-...-de6110c Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MixerEnd          = C.BASS_MIXER_END
	MixerNonstop      = C.BASS_MIXER_NONSTOP
	MixerPosex        = C.BASS_MIXER_POSEX
	MixerResume       = C.BASS_MIXER_RESUME
	MixerChanBuffer   = C.BASS_MIXER_CHAN_BUFFER
	MixerChanDownmix  = C.BASS_MIXER_CHAN_DOWNMIX
	MixerChanLimit    = C.BASS_MIXER_CHAN_LIMIT
	MixerChanMatrix   = C.BASS_MIXER_CHAN_MATRIX
	MixerChanNorampin = C.BASS_MIXER_CHAN_NORAMPIN
	MixerChanPause    = C.BASS_MIXER_CHAN_PAUSE
)

Variables

This section is empty.

Functions

func ChannelFlags

func ChannelFlags(channel bass.Channel, flags, mask bass.Flags) (bass.Flags, error)

func ChannelGetData

func ChannelGetData(channel bass.Channel, buf []byte) (int, error)

func ChannelRemove

func ChannelRemove(channel bass.Channel) error

Types

type Mixer

type Mixer bass.Channel

func StreamCreate

func StreamCreate(freq, chans int, flags bass.Flags) (Mixer, error)

func (Mixer) AddChannel

func (self Mixer) AddChannel(channel bass.Channel, flags bass.Flags) error

func (Mixer) AddChannelEx

func (self Mixer) AddChannelEx(channel bass.Channel, flags bass.Flags, start, length int64) error

func (Mixer) GetChannels

func (self Mixer) GetChannels(channels []bass.Channel) (int, error)

func (Mixer) ToChannel

func (self Mixer) ToChannel() bass.Channel

Jump to

Keyboard shortcuts

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