MCPcopy Index your code

hub / github.com/gordonklaus/portaudio / functions

Functions69 in github.com/gordonklaus/portaudio

↓ 26 callersFunctionchk
(err error)
examples/record.go:89
↓ 18 callersFunctionnewError
(err C.PaError)
portaudio.go:99
↓ 15 callersMethodWrite
Write uses the buffer provided to OpenStream. The number of samples to write is determined by the size of the buffer.
portaudio.go:1009
↓ 10 callersFunctionduration
(paTime C.PaTime)
portaudio.go:372
↓ 9 callersMethodClose
Close terminates the stream.
portaudio.go:862
↓ 9 callersFunctionchk
(err error)
examples/play.go:122
↓ 8 callersMethodRead
Read uses the buffer provided to OpenStream. The number of samples to read is determined by the size of the buffer.
portaudio.go:993
↓ 7 callersFunctionInitialize
Initialize initializes internal data structures and prepares underlying host APIs for use. With the exception of Version(), VersionText(), and ErrorTe
portaudio.go:126
↓ 7 callersFunctionTerminate
Terminate deallocates all resources allocated by PortAudio since it was initialized by a call to Initialize(). In cases where Initialize() has been c
portaudio.go:146
↓ 7 callersFunctionchk
(err error)
examples/mp3.go:66
↓ 6 callersMethodStart
Start commences audio processing.
portaudio.go:873
↓ 6 callersMethodStop
Stop terminates audio processing. It waits until all pending audio buffers have been played before it returns.
portaudio.go:926
↓ 4 callersFunctionOpenDefaultStream
OpenDefaultStream is a simplified version of OpenStream that opens the default input and/or output devices. The args parameter has the same meaning a
portaudio.go:667
↓ 4 callersFunctionchk
(err error)
examples/noise.go:26
↓ 4 callersFunctionchk
(err error)
examples/echo.go:44
↓ 3 callersFunctionHostApis
HostApis returns all information available for HostApis.
portaudio.go:225
↓ 3 callersFunctionOpenStream
OpenStream creates an instance of a Stream. For an input- or output-only stream, p.Output.Device or p.Input.Device must be nil, respectively. The ar
portaudio.go:640
↓ 3 callersMethodString
()
examples/play.go:111
↓ 3 callersFunctionchk
(err error)
examples/stereoSine.go:44
↓ 3 callersFunctiondelStream
(s *Stream)
portaudio.go:560
↓ 2 callersFunctionDefaultHostApi
DefaultHostApi returns information of the default HostApi available on the system. The default host API will be the lowest common denominator host AP
portaudio.go:250
↓ 2 callersFunctionDevices
Devices returns information for all available devices on the system.
portaudio.go:263
↓ 2 callersFunctionHighLatencyParameters
HighLatencyParameters are mono in, stereo out (if supported), high latency, the smaller of the default sample rates of the two devices, and FramesPerB
portaudio.go:420
↓ 2 callersFunctionchk
(err error)
examples/enumerate.go:36
↓ 2 callersFunctiongetBuffer
(s *reflect.SliceHeader, p *C.PaStreamParameters)
portaudio.go:1023
↓ 2 callersFunctionhostsAndDevices
()
portaudio.go:320
↓ 2 callersMethodinit
(p StreamParameters, args ...interface{})
portaudio.go:694
↓ 2 callersFunctionlookupDevice
(d []*DeviceInfo, i C.PaDeviceIndex)
portaudio.go:376
↓ 2 callersFunctionpaStreamParameters
(p StreamDeviceParameters, fmt C.PaSampleFormat)
portaudio.go:852
↓ 2 callersFunctionreadChunk
(r readerAtSeeker)
examples/play.go:87
↓ 2 callersFunctionsampleFormat
(b reflect.Type)
portaudio.go:822
↓ 2 callersFunctionsetSlice
(s *reflect.SliceHeader, data uintptr, n int)
portaudio.go:918
↓ 2 callersFunctionupdateBuffer
(buf *reflect.SliceHeader, p uintptr, params *C.PaStreamParameters, frames int)
portaudio.go:899
↓ 1 callersFunctionDefaultInputDevice
DefaultInputDevice returns information for the default input device on the system.
portaudio.go:273
↓ 1 callersFunctionDefaultOutputDevice
DefaultOutputDevice returns information for the default output device on the system.
portaudio.go:290
↓ 1 callersFunctionLowLatencyParameters
LowLatencyParameters are mono in, stereo out (if supported), low latency, the larger of the default sample rates of the two devices, and FramesPerBuff
portaudio.go:452
↓ 1 callersFunctiongetStream
(id uintptr)
portaudio.go:554
↓ 1 callersMethodinitBuffers
(p StreamParameters, args ...interface{})
portaudio.go:780
↓ 1 callersMethodinitCallback
(p StreamParameters, fun reflect.Value)
portaudio.go:708
↓ 1 callersFunctionnewEcho
(delay time.Duration)
examples/echo.go:24
↓ 1 callersFunctionnewStereoSine
(freqL, freqR, sampleRate float64)
examples/stereoSine.go:27
↓ 1 callersFunctionnewStream
()
portaudio.go:545
↓ 1 callersFunctionsetChannels
(s *reflect.SliceHeader, p uintptr, frames int)
portaudio.go:910
↓ 1 callersFunctionstreamCallback
export streamCallback
portaudio.go:878
MethodAbort
Abort terminates audio processing immediately without waiting for pending buffers to complete.
portaudio.go:932
MethodAvailableToRead
AvailableToRead returns the number of frames that can be read from the stream without waiting.
portaudio.go:973
MethodAvailableToWrite
AvailableToWrite returns the number of frames that can be written from the stream without waiting.
portaudio.go:983
MethodCpuLoad
CpuLoad returns the CPU usage information for the specified stream, where 0.0 is 0% usage and 1.0 is 100% usage. The "CPU Load" is a fraction of tota
portaudio.go:967
MethodError
()
portaudio.go:44
MethodError
()
portaudio.go:95
FunctionHostApi
HostApi returns information for a requested HostApiType.
portaudio.go:234
MethodInfo
Info returns information about the Stream instance.
portaudio.go:937
FunctionIsFormatSupported
IsFormatSupported Returns nil if the format is supported, otherwise an error. The args parameter has the same meaning as in OpenStream.
portaudio.go:483
MethodPutInt32
PutInt32 puts the three most significant bytes of i32 into i24.
portaudio.go:496
MethodString
()
portaudio.go:162
MethodTime
Time returns the current time in seconds for a lifespan of a stream. Starting and stopping the stream does not affect the passage of time.
portaudio.go:953
FunctionVersion
Version returns the release number of PortAudio.
portaudio.go:32
FunctionVersionText
VersionText returns the textual description of the PortAudio release.
portaudio.go:37
Functioncb
pa.c:3
Functioninit
()
portaudio.go:510
Functionmain
()
examples/record.go:12
Functionmain
()
examples/noise.go:9
Functionmain
()
examples/mp3.go:14
Functionmain
()
examples/enumerate.go:27
Functionmain
()
examples/play.go:12
Functionmain
()
examples/stereoSine.go:11
Functionmain
()
examples/echo.go:8
MethodprocessAudio
(out [][]float32)
examples/stereoSine.go:35
MethodprocessAudio
(in, out []float32)
examples/echo.go:36