Reference

AudioCopy(3cc)

AudioCopy is used for certain kinds of stream join operations.fill an audio sample frame from another.

NAME

AudioCopy - AudioCopy is used for certain kinds of stream join operations.fill an audio sample frame from another.

SYNOPSIS

#include <audio.h>

Inherits AudioSample.

Public Member Functions

AudioCopy (unsigned frame, Encoding encoding=pcm16Mono, unsigned rate=8000)
bool copy (void)
bool isEmpty (void)

Protected Member Functions

virtual AudioSample * fill (void)=0

Protected Attributes

unsigned char * next
unsigned left

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 <[email protected]>.

Author

Generated automatically by Doxygen for ccAudio from the source code.