include/libhfp/soundio.h File Reference

#include <stdint.h>
#include "events.h"

Include dependency graph for soundio.h:

This graph shows which files directly or indirectly include this file:


Namespaces

namespace  libhfp

Classes

struct  SoundIoProps
 Basic properties of a SoundIo object. More...
struct  SoundIoFormat
 PCM Audio Data Format Descriptor. More...
struct  SoundIoQueueState
 Queue State Descriptor of a SoundIo Object. More...
struct  SoundIoBuffer
 Audio Buffer Descriptor. More...
class  SoundIo
 Audio Source/Sink Interface. More...
class  SoundIoDeviceList
 Utility class used to communicate a list of detected sound card names and descriptions associated with each driver. More...
class  SoundIoFilter
 Audio Filtering and Signal Processing Interface. More...
struct  SoundIoSpeexProps
 Signal processing configuration for SoundIoFltSpeex. More...
class  SoundIoFltSpeex
 Speex signal processing filter. More...
struct  SoundIoPumpStatistics
 Statistics structure for SoundIoPump. More...
class  SoundIoPump
 Audio Data Pump. More...
class  SoundIoManager
 Streaming Audio Configuration Manager. More...

Typedefs

typedef unsigned int sio_sampnum_t
 Sample count value type.

Enumerations

enum  { ,
  LIBHFP_ERROR_SOUNDIO_SYSCALL, LIBHFP_ERROR_SOUNDIO_INTERNAL, LIBHFP_ERROR_SOUNDIO_NOT_SUPPORTED, LIBHFP_ERROR_SOUNDIO_ALREADY_OPEN,
  LIBHFP_ERROR_SOUNDIO_NO_CLOCK, LIBHFP_ERROR_SOUNDIO_BAD_FILE, LIBHFP_ERROR_SOUNDIO_DUPLEX_MISMATCH, LIBHFP_ERROR_SOUNDIO_FORMAT_UNKNOWN,
  LIBHFP_ERROR_SOUNDIO_FORMAT_MISMATCH, LIBHFP_ERROR_SOUNDIO_BAD_PUMP_CONFIG, LIBHFP_ERROR_SOUNDIO_WATCHDOG_TIMEOUT, LIBHFP_ERROR_SOUNDIO_EXCESSIVE_SKEW,
  LIBHFP_ERROR_SOUNDIO_DATA_EXHAUSTED, LIBHFP_ERROR_SOUNDIO_NO_DRIVER, LIBHFP_ERROR_SOUNDIO_CANNOT_CHANGE_WHILE_STREAMING, LIBHFP_ERROR_SOUNDIO_SOUNDCARD_FAILED
}
 Error values for subsystem LIBHFP_ERROR_SUBSYS_SOUNDIO. More...
enum  sio_sampletype_t { , SIO_PCM_U8, SIO_PCM_S16_LE, SIO_PCM_A_LAW, SIO_PCM_MU_LAW }
 Known Sample Format Enumeration. More...

Functions

SoundIo * SoundIoCreateOss (DispatchInterface *dip, const char *driveropts, ErrorInfo *error)
 Construct a SoundIo object backed by an OSS driver.
SoundIo * SoundIoCreateAlsa (DispatchInterface *dip, const char *driveropts, ErrorInfo *error)
 Construct a SoundIo object backed by an ALSA driver.
SoundIo * SoundIoCreateMembuf (const SoundIoFormat *fmt, sio_sampnum_t nsamps)
 Construct a SoundIo object backed by a fixed-size memory buffer.
SoundIo * SoundIoCreateFileHandler (DispatchInterface *ei, const char *filename, bool create, ErrorInfo *error=0)
 Construct a SoundIo object backed by a disk file.
SoundIoFilter * SoundIoCreateSnooper (SoundIo *target, bool up=true, bool dn=true, ErrorInfo *error=0)
 Construct a stream snooping filter.
SoundIoFltSpeex * SoundIoFltCreateSpeex (DispatchInterface *ei, ErrorInfo *error=0)
 Instantiate a Speex signal processing filter object.

Detailed Description


Generated on Fri Jan 9 05:58:36 2009 for libhfp by  doxygen 1.5.4