#include <audio.h>
Inheritance diagram for TestAudio:

Public Member Functions | |
| TestAudio (PUDPSocket &_socket, PString _devName) | |
| virtual | ~TestAudio () |
| virtual void | Terminate () |
| void | LowerVolume () |
| void | RaiseVolume () |
| PINDEX | GetCountPackets () |
Protected Member Functions | |
| BOOL | OpenAudio (enum PSoundChannel::Directions dir) |
Protected Attributes | |
| PUDPSocket & | socket |
| PString | devName |
| PString | name |
| PINDEX | currentVolume |
| PSoundChannel | sound |
| BOOL | keepGoing |
| PINDEX | countPackets |
|
||||||||||||
|
Constructor, given the socket and device name that comms happen over |
|
|
Destructor |
|
|
Reporting function |
|
|
Untility function to lower the volume |
|
|
Call that causes the audio device to open |
|
|
Untility function to raise the volume |
|
|
Override of pwlib method, which causes this thread to end |
|
|
A count of the number of packets that have passed by |
|
|
The current volume, which is 0..100(max) |
|
|
Name of the audio device we are using |
|
|
Flag to indicate we have to keep going, and is used when terminating this thread |
|
|
Name of our direction - read or write |
|
|
the socket that we do comms over |
|
|
Holds the sound class that is provided by pwlib to access the sound card |
1.4.4