class AudioSubSystem


Full nameArts::AudioSubSystem
Definition#include <arts/audiosubsys.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods


Detailed Description

enum { ioRead=1, ioWrite=2, ioExcept=4 }

AudioSubSystem * the ()

the

[static]

bool  attachProducer (ASProducer *producer)

attachProducer

bool  attachConsumer (ASConsumer *consumer)

attachConsumer

void  detachProducer ()

detachProducer

void  detachConsumer ()

detachConsumer

void  audioIO (const std::string& audioIO)

audioIO

std::string  audioIO ()

audioIO

void  deviceName (const std::string& deviceName)

deviceName

std::string  deviceName ()

deviceName

void  fragmentSize (int size)

fragmentSize

int  fragmentSize ()

fragmentSize

void  fragmentCount (int fragments)

fragmentCount

int  fragmentCount ()

fragmentCount

void  samplingRate (int samplingrate)

samplingRate

int  samplingRate ()

samplingRate

void  channels (int channels)

channels

int  channels ()

channels

void  format (int format)

format

int  format ()

format

int  bits ()

bits

As opposed to format(), this one returns the number of bits used per sample. Thats sometimes a difference, for instance 16bit big endian encoding has the format() 17, whereas bits() would return 16.

void  fullDuplex (bool newFullDuplex)

fullDuplex

bool  fullDuplex ()

fullDuplex

bool  check ()

check

int  open ()

open

const char * error ()

error

void  handleIO (int type)

handleIO

bool  open (int& fd)

open

void  read (void *buffer, int size)

read

void  write (void *buffer, int size)

write

bool  running ()

running


Generated by: stefan on stefan on Sat Jun 2 23:13:28 2001, using kdoc 2.0a53.