Logo Search packages:      
Sourcecode: darkice version File versions

OssDspSource Class Reference

#include <OssDspSource.h>

Inheritance diagram for OssDspSource:

AudioSource Reporter Source Reporter Referable

List of all members.


Detailed Description

An audio input based on /dev/dsp-like raw devices

Author:
Author
darkeye
Version:
Revision
1.6

Definition at line 57 of file OssDspSource.h.


Public Member Functions

virtual bool canRead (unsigned int sec, unsigned int usec) throw ( Exception )
virtual void close (void) throw ( Exception )
unsigned int decreaseReferenceCount (void) throw ( Exception )
unsigned int getBitsPerSample (void) const throw ()
unsigned int getChannel (void) const throw ()
unsigned int getReferenceCount (void) const throw ()
unsigned int getSampleRate (void) const throw ()
unsigned int increaseReferenceCount (void) throw ( Exception )
virtual bool isBigEndian (void) const throw ()
virtual bool isOpen (void) const throw ()
virtual bool open (void) throw ( Exception )
virtual OssDspSourceoperator= (const OssDspSource &ds) throw ( Exception )
 OssDspSource (const OssDspSource &ds) throw ( Exception )
 OssDspSource (const char *name, int sampleRate=44100, int bitsPerSample=16, int channel=2) throw ( Exception )
virtual unsigned int read (void *buf, unsigned int len) throw ( Exception )
virtual ~OssDspSource (void) throw ( Exception )

Static Public Member Functions

static AudioSourcecreateDspSource (const char *deviceName, int sampleRate=44100, int bitsPerSample=16, int channel=2) throw ( Exception )
static std::ostream & getReportOutputStream (void) throw ()
static std::ostream & getReportOutputStream (void) throw ()
static unsigned int getReportVerbosity (void) throw ()
static unsigned int getReportVerbosity (void) throw ()
template<class T, class U, class V, class W>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v, const W w) throw ()
template<class T, class U, class V>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v) throw ()
template<class T, class U>
static void reportEvent (unsigned int verbosity, const T t, const U u) throw ()
template<class T>
static void reportEvent (unsigned int verbosity, const T t) throw ()
template<class T, class U, class V, class W>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v, const W w) throw ()
template<class T, class U, class V>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v) throw ()
template<class T, class U>
static void reportEvent (unsigned int verbosity, const T t, const U u) throw ()
template<class T>
static void reportEvent (unsigned int verbosity, const T t) throw ()
static void setReportOutputStream (std::ostream &os) throw ()
static void setReportOutputStream (std::ostream &os) throw ()
static void setReportVerbosity (unsigned int verbosity) throw ()
static void setReportVerbosity (unsigned int verbosity) throw ()

Protected Member Functions

void init (const char *name) throw ( Exception )
 OssDspSource (void) throw ( Exception )
void strip (void) throw ( Exception )

Private Attributes

int fileDescriptor
char * fileName
bool running

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index