Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2020 Changes in this version + const CONTEXT_AUTHORIZING + const CONTEXT_CONNECTING + const CONTEXT_FAILED + const CONTEXT_NOAUTOSPAWN + const CONTEXT_NOFAIL + const CONTEXT_NOFLAGS + const CONTEXT_READY + const CONTEXT_SETTING_NAME + const CONTEXT_TERMINATED + const CONTEXT_UNCONNECTED + const ERR_ACCESS + const ERR_AUTHKEY + const ERR_BADSTATE + const ERR_BUSY + const ERR_COMMAND + const ERR_CONNECTIONREFUSED + const ERR_CONNECTIONTERMINATED + const ERR_EXIST + const ERR_FORKED + const ERR_INTERNAL + const ERR_INVALID + const ERR_INVALIDSERVER + const ERR_IO + const ERR_KILLED + const ERR_MAX + const ERR_MODINITFAILED + const ERR_NODATA + const ERR_NOENTITY + const ERR_NOEXTENSION + const ERR_NOTIMPLEMENTED + const ERR_NOTSUPPORTED + const ERR_OBSOLETE + const ERR_PROTOCOL + const ERR_TIMEOUT + const ERR_TOOLARGE + const ERR_UNKNOWN + const ERR_VERSION + const OK + const SAMPLE_ALAW + const SAMPLE_FLOAT32BE + const SAMPLE_FLOAT32LE + const SAMPLE_INVALID + const SAMPLE_MAX + const SAMPLE_S16BE + const SAMPLE_S16LE + const SAMPLE_S24BE + const SAMPLE_S24LE + const SAMPLE_S24_32BE + const SAMPLE_S24_32LE + const SAMPLE_S32BE + const SAMPLE_S32LE + const SAMPLE_U8 + const SAMPLE_ULAW + const SEEK_ABSOLUTE + const SEEK_RELATIVE + const SEEK_RELATIVE_END + const SEEK_RELATIVE_ON_READ + const STREAM_ADJUST_LATENCY + const STREAM_AUTO_TIMING_UPDATE + const STREAM_CREATING + const STREAM_DONT_INHIBIT_AUTO_SUSPEND + const STREAM_DONT_MOVE + const STREAM_EARLY_REQUESTS + const STREAM_FAILED + const STREAM_FAIL_ON_SUSPEND + const STREAM_FIX_CHANNELS + const STREAM_FIX_FORMAT + const STREAM_FIX_RATE + const STREAM_INTERPOLATE_TIMING + const STREAM_NOFLAGS + const STREAM_NOT_MONOTONIC + const STREAM_NO_REMAP_CHANNELS + const STREAM_NO_REMIX_CHANNELS + const STREAM_PEAK_DETECT + const STREAM_READY + const STREAM_START_CORKED + const STREAM_START_MUTED + const STREAM_START_UNMUTED + const STREAM_TERMINATED + const STREAM_UNCONNECTED + const STREAM_VARIABLE_RATE + func Play(s sounds.Sound) + type PulseContext struct + MainLoop *PulseMainLoop + func (self *PulseContext) Disconnect() + func (self *PulseContext) Dispose() + func (self *PulseContext) Drain() int + func (self *PulseContext) ExitDaemon() int + func (self *PulseContext) NewStream(name string, spec *PulseSampleSpec) *PulseStream + func (self *PulseContext) SetDefaultSink(name string) int + func (self *PulseContext) SetDefaultSource(name string) int + type PulseMainLoop struct + func NewPulseMainLoop() *PulseMainLoop + func (self *PulseMainLoop) Dispose() + func (self *PulseMainLoop) NewContext(name string, flags int) *PulseContext + func (self *PulseMainLoop) Start() int + type PulseSampleSpec struct + Channels int + Format int + Rate int + type PulseStream struct + Context *PulseContext + func (self *PulseStream) ConnectToSink() int + func (self *PulseStream) Disconnect() + func (self *PulseStream) Dispose() + func (self *PulseStream) Drain() + func (self *PulseStream) GetSampleSpec() PulseSampleSpec + func (self *PulseStream) WritableSize() int + func (self *PulseStream) Write(data interface{}, flags int) int