#include <SolarisDspSource.h>
Inheritance diagram for SolarisDspSource:


Definition at line 57 of file SolarisDspSource.h.
Public Member Functions | |
| SolarisDspSource (const char *name, int sampleRate=44100, int bitsPerSample=16, int channel=2) throw ( Exception ) | |
| Constructor. | |
| SolarisDspSource (const SolarisDspSource &sds) throw ( Exception ) | |
| Copy Constructor. | |
| virtual | ~SolarisDspSource (void) throw ( Exception ) |
| Destructor. | |
| virtual SolarisDspSource & | operator= (const SolarisDspSource &ds) throw ( Exception ) |
| Assignment operator. | |
| virtual bool | isBigEndian (void) const throw () |
| Tell if the data from this source comes in big or little endian. | |
| virtual bool | open (void) throw ( Exception ) |
| Open the SolarisDspSource. | |
| virtual bool | isOpen (void) const throw () |
| Check if the SolarisDspSource is open. | |
| virtual bool | canRead (unsigned int sec, unsigned int usec) throw ( Exception ) |
| Check if the SolarisDspSource can be read from. | |
| virtual unsigned int | read (void *buf, unsigned int len) throw ( Exception ) |
| Read from the SolarisDspSource. | |
| virtual void | close (void) throw ( Exception ) |
| Close the SolarisDspSource. | |
Protected Member Functions | |
| SolarisDspSource (void) throw ( Exception ) | |
| Default constructor. | |
| void | init (const char *name) throw ( Exception ) |
| Initialize the object. | |
| void | strip (void) throw ( Exception ) |
| De-iitialize the object. | |
|
|
Default constructor. Always throws an Exception.
Definition at line 80 of file SolarisDspSource.h. |
|
||||||||||||||||||||
|
Constructor.
Definition at line 117 of file SolarisDspSource.h. References init(). |
|
|
Copy Constructor.
Definition at line 135 of file SolarisDspSource.h. References init(). |
|
|
Destructor.
Definition at line 148 of file SolarisDspSource.h. References strip(). |
|
||||||||||||
|
Check if the SolarisDspSource can be read from. Blocks until the specified time for data to be available. Puts the Solaris DSP device into recording mode.
Implements Source. |
|
|
Close the SolarisDspSource.
Implements Source. |
|
|
Initialize the object.
Referenced by operator=(), and SolarisDspSource(). |
|
|
Tell if the data from this source comes in big or little endian.
Reimplemented from AudioSource. Definition at line 177 of file SolarisDspSource.h. |
|
|
Check if the SolarisDspSource is open.
Implements Source. Definition at line 206 of file SolarisDspSource.h. |
|
|
Open the SolarisDspSource. This does not put the Solaris DSP device into recording mode. To start getting samples, call either canRead() or read().
Implements Source. |
|
|
Assignment operator.
Definition at line 161 of file SolarisDspSource.h. References init(), AudioSource::operator=(), and strip(). |
|
||||||||||||
|
Read from the SolarisDspSource. Puts the Solaris DSP device into recording mode.
Implements Source. |
|
|
De-iitialize the object.
Reimplemented from AudioSource. Referenced by operator=(), and ~SolarisDspSource(). |
1.4.4