Class: PortAudioInterface

Environment: Siren
Superclass: Siren.SirenExternalInterface
Category: MusicIO-External
Instance variables: cbProcess ioSemaphore
Class variables: PA_Constants
Imports: private Siren.PortAudioInterfaceDictionary.*
Attributes:
#(#(#includeFiles #('portaudio_lite.h')) #(#includeDirectories #('Siren7.5/DLLCC')) #(#libraryFiles #('portaudio_lite.dylib' 'libportaudio.dylib')) #(#libraryDirectories #('/usr/local/lib')) #(#beVirtual false) #(#optimizationLevel #full))

types

Callback

CallbackFcn

OEoop

procedures

pa_close

pa_dev_in: which

pa_dev_out: which

pa_dev_rate: which

pa_get_name: which

pa_get_name: which with: resultString

pa_initialize

pa_in_device

pa_in_rate

pa_num_devices

pa_num_in

pa_num_out

pa_open_p: device with: out_ch with: format with: rate with: blockSize

pa_open_s: device with: in_ch with: out_ch with: format with: rate with: blockSize with: cbBlock with: in_buffer with: out_buffer

pa_out_device

pa_out_rate

pa_play: out_buffer with: numChannels with: numFrames

pa_play: out_buffer with: numChannels with: numFrames with: swap

pa_start

pa_stop

pa_terminate

accessing

cbProcess

cbProcess: aValue

ioSemaphore

ioSemaphore: aValue

MetaClass: PortAudioInterface class

class initialization

const: flag

initialize
Set up the class constants dictionary (PortAudio 19)

examples

example0
Demonstrate using the PortAudioInterface with the simple interface

example2
Demonstrate using the PortAudioInterface with the non-semaphore-signalling interface