SPKitOSSAudioPort (a subclass of SPKitAudioPort) is an audio port implementation for Open Sound System compatible environments.
The current version works only under Linux 2.2 (or above) kernels or on other Open Sound System compatible platforms.
SPKitAudioPort acts like a combination of SPKitReader and SPKitWriter. I.e. it can be used as both an input and output for an SPKit patch. The setInput() function, inherited from SPKitProcessor, is used to connect objects as inputs to SPKitAudioPort. Respectively, being a supclass of SPKitProcessor, SPKitAudioPort may be connected as an input to other SPKit objects.
SPKitAudioPort defines run() and runFor() functions for reading and writing audio samples from the AD/DA converter. An init() function is defined for initializing the audio device. Subclasses are expected to override these functions as well as the getSample() function for their specific audio I/O system implementations.
Author: Kai Lassfolk