|
PortAudio 2.0
|
#include <sys/audioio.h>#include <sys/ioctl.h>#include <unistd.h>#include <fcntl.h>#include <pthread.h>#include <poll.h>#include <string.h>#include <stdbool.h>#include <stdlib.h>#include <stdio.h>#include <math.h>#include "pa_util.h"#include "pa_unix_util.h"#include "pa_debugprint.h"#include "pa_allocation.h"#include "pa_hostapi.h"#include "pa_stream.h"#include "pa_cpuload.h"#include "pa_process.h"Data Structures | |
| struct | PaAudioIOHostApiRepresentation |
| struct | PaAudioIOComponent |
| struct | PaAudioIOStream |
Macros | |
| #define | AUDIOIO_MAX_DEVICES (32) |
| #define | AUDIOIO_DEFAULT_FRAMES (128) |
| #define | AUDIOIO_DEFAULT_MAX_CHANNELS (2) |
| #define | AUDIOIO_DEV_PREFIX "/dev/audio" |
| #define | AUDIOIO_DEV_DEFAULT "/dev/audio" |
| #define | AUDIO_ENCODING_SLINEAR AUDIO_ENCODING_LINEAR |
| #define | AUDIO_GETBUFINFO AUDIO_GETINFO |
Typedefs | |
| typedef struct PaAudioIOComponent | PaAudioIOComponent |
| typedef struct PaAudioIOStream | PaAudioIOStream |
Functions | |
| PaError | PaAudioIO_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
| #define AUDIO_ENCODING_SLINEAR AUDIO_ENCODING_LINEAR |
Referenced by PaAudioIO_Initialize().
| #define AUDIO_GETBUFINFO AUDIO_GETINFO |
Referenced by PaAudioIO_Initialize().
| #define AUDIOIO_DEFAULT_FRAMES (128) |
| #define AUDIOIO_DEFAULT_MAX_CHANNELS (2) |
Referenced by PaAudioIO_Initialize().
| #define AUDIOIO_DEV_DEFAULT "/dev/audio" |
Referenced by PaAudioIO_Initialize().
| #define AUDIOIO_DEV_PREFIX "/dev/audio" |
Referenced by PaAudioIO_Initialize().
| #define AUDIOIO_MAX_DEVICES (32) |
Referenced by PaAudioIO_Initialize().
| typedef struct PaAudioIOComponent PaAudioIOComponent |
| typedef struct PaAudioIOStream PaAudioIOStream |
| PaError PaAudioIO_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, |
| PaHostApiIndex | index ) |
References PaAudioIOHostApiRepresentation::allocations, AUDIO_ENCODING_SLINEAR, AUDIO_GETBUFINFO, AUDIOIO_DEFAULT_MAX_CHANNELS, AUDIOIO_DEV_DEFAULT, AUDIOIO_DEV_PREFIX, AUDIOIO_MAX_DEVICES, PaAudioIOHostApiRepresentation::blockingStreamInterface, PaAudioIOHostApiRepresentation::callbackStreamInterface, PaDeviceInfo::defaultHighInputLatency, PaDeviceInfo::defaultHighOutputLatency, PaHostApiInfo::defaultInputDevice, PaDeviceInfo::defaultLowInputLatency, PaDeviceInfo::defaultLowOutputLatency, PaHostApiInfo::defaultOutputDevice, PaDeviceInfo::defaultSampleRate, PaHostApiInfo::deviceCount, PaUtilHostApiRepresentation::deviceInfos, PaDeviceInfo::hostApi, PaUtilHostApiRepresentation::info, PaAudioIOHostApiRepresentation::inheritedHostApiRep, PaUtilHostApiRepresentation::IsFormatSupported, PaDeviceInfo::maxInputChannels, PaDeviceInfo::maxOutputChannels, PaDeviceInfo::name, PaHostApiInfo::name, PaUtilHostApiRepresentation::OpenStream, PA_UNLESS, paAudioIO, paInsufficientMemory, paNoDevice, paNoError, PaUtil_CreateAllocationGroup(), PaUtil_DestroyAllocationGroup(), PaUtil_DummyGetCpuLoad(), PaUtil_DummyGetReadAvailable(), PaUtil_DummyGetWriteAvailable(), PaUtil_DummyRead(), PaUtil_DummyWrite(), PaUtil_FreeAllAllocations(), PaUtil_GroupAllocateZeroInitializedMemory(), PaUtil_InitializeStreamInterface(), PaDeviceInfo::structVersion, PaHostApiInfo::structVersion, PaUtilHostApiRepresentation::Terminate, and PaHostApiInfo::type.