Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members
ost::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 ost::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
ost::AudioCopy::AudioCopy |
( |
unsigned |
frame, |
|
|
audioencoding_t |
encoding = PCM16_AUDIO_ENCODING, |
|
|
unsigned |
rate = 8000 |
|
) |
|
|
Member Function Documentation
bool ost::AudioCopy::Copy |
( |
void |
|
) |
|
|
virtual AudioSample* ost::AudioCopy::Fill |
( |
void |
|
) |
[protected, pure virtual] |
|
bool ost::AudioCopy::isEmpty |
( |
void |
|
) |
[inline] |
|
Member Data Documentation
unsigned ost::AudioCopy::left [protected]
|
|
unsigned char* ost::AudioCopy::next [protected]
|
|
The documentation for this class was generated from the following file:
Generated at Sat Nov 3 09:46:02 2001 for ccAudio by
1.2.10 written by Dimitri van Heesch,
© 1997-2001