Logo Search packages:      
Sourcecode: darkice version File versions

SolarisDspSource Class Reference

#include <SolarisDspSource.h>

Inheritance diagram for SolarisDspSource:

AudioSource Reporter Source Reporter Referable

List of all members.


Detailed Description

An audio input based on Solaris /dev/audio devices

Author:
Author
darkeye
Version:
Revision
1.2

Definition at line 57 of file SolarisDspSource.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 SolarisDspSourceoperator= (const SolarisDspSource &ds) throw ( Exception )
virtual unsigned int read (void *buf, unsigned int len) throw ( Exception )
 SolarisDspSource (const SolarisDspSource &ds) throw ( Exception )
 SolarisDspSource (const char *name, int sampleRate=44100, int bitsPerSample=16, int channel=2) throw ( Exception )
virtual ~SolarisDspSource (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 )
 SolarisDspSource (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