tkportaudio
tkportaudio
PaDeviceInfo
-
getDefaultHighInputLatency() : float
- Query highest possible latency (in seconds)
getDefaultHighOutputLatency() : float
- Query highest possible latency (in seconds)
getDefaultLowInputLatency() : float
- Query lowest possible latency (in seconds)
getDefaultLowOutputLatency() : float
- Query lowest possible latency (in seconds)
getDefaultSampleRate() : float
- Query default sample rate
getHostApiIndex() : int
-
getHostApiInfo() : PaHostApiInfo
-
getHostApiName() : String
-
getInputChannelName(int ch) : String
-
getMaxInputChannels() : int
-
getMaxOutputChannels() : int
-
getName() : String
-
getOutputChannelName(int ch) : String
- PaHostApiInfo
-
PaStream
-
abort()
-
close()
- Close stream and free resources.
getCpuLoad() : float
-
getInputLatency() : float
-
getNumInputChannels() : int
-
getNumOutputChannels() : int
-
getOutputLatency() : float
-
getSampleRate() : float
-
isActive() : boolean
-
isStopped() : boolean
-
start()
- Start audio I/O
stop()
- Stop audio I/OPaStreamParameters
-
getChannelCount() : int
-
getDeviceIndex() : int
-
getSampleFormat() : int
- See PA_xxx constants, e.g. PA_INT24
.
getSuggestedLatency() : float
- Query suggested latency (in seconds)
setChannelCount(int channelCount)
-
setDeviceIndex(int devIdx)
-
setSampleFormat(int sampleFormat)
- See PA_xxx constants, e.g. PA_INT24
.
setSuggestedLatency(float latency)
- Set suggested latency (in seconds)PortAudio
- Pseudo-static utility class which is used to init/tear down the library, query devices, open streams etc.
GetDefaultInputDeviceIndex() : int
- Query default input device index
GetDefaultOutputDeviceIndex() : int
- Query default output device index
getDeviceInfo(int devIdx) : PaDeviceInfo
- Query information for the given device
GetNumDevices() : int
- Query number of available devices
GetSampleSize(int sampleFormat) : int
- Query sample size (number of bytes) for the given sample format.
Initialize()
- Initialize the portaudio library
IsFormatSupported(PaStreamParameters inParams, outParams, float sampleRate) : boolean
-
OpenStream(PaStreamParameters inParams, outParams, float sampleRate, Function streamCbk, PaStream retStream) : int
- Open audio stream and initialize the given PaStream object.
Terminate()
- Tear down the portaudio library. int
PA_FLOAT
- single precision floating point sample format (4 bytes)
int
PA_INT16
- 16bit signed integer sample format (2 bytes)
int
PA_INT24
- 24bit signed integer sample format (3 bytes)
int
PA_INT32
- 32bit signed integer sample format (4 bytes)
int
PA_INT8
- 8bit signed integer sample format (1 byte)
int
PA_UINT8
- 8bit unsigned integer sample format (1 byte)
Project Modules: | tkportaudio |
Project Classes: | PaDeviceInfo , PaHostApiInfo , PaStream , PaStreamParameters , PortAudio |
Project Functions: | |
All Namespaces: | default , ui |
All Projects: | core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54