Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
AudioCopy Class Reference
AudioCopy is used for certain kinds of stream join operations. fill an audio sample frame from another.
More...
#include <audio.h>
Inheritance diagram for AudioCopy::
List of all members.
Detailed Description
AudioCopy is used for certain kinds of stream join operations. fill an audio sample frame from another.
Essentially it fills the current sample buffer from another AudioSample object and requests a new object thru a virtual every time it empties. This is used in dtmf dialing, for example, to fill in the next digit tone.
-
Author:
-
David Sugar <dyfet@ostel.com>.
Constructor & Destructor Documentation
AudioCopy::AudioCopy |
( |
unsigned |
frame, |
|
|
audioencoding_t |
encoding = PCM16_AUDIO_ENCODING, |
|
|
unsigned |
rate = 8000 |
|
) |
|
|
Member Function Documentation
bool AudioCopy::Copy |
( |
void |
|
) |
|
|
virtual AudioSample* AudioCopy::Fill |
( |
void |
|
) |
[protected, pure virtual] |
|
bool AudioCopy::isEmpty |
( |
void |
|
) |
[inline] |
|
Member Data Documentation
unsigned AudioCopy::left [protected]
|
|
unsigned char* AudioCopy::next [protected]
|
|
The documentation for this class was generated from the following file:
Generated at Tue Nov 20 16:55:21 2001 for ccAudio by
1.2.10 written by Dimitri van Heesch,
© 1997-2001