---
name: "AudioCopy"
section: "3cc"
platform: "linux"
package: "libccaudio-dev"
version: "1.2.0-1+b1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/AudioCopy/3cc"
---

# 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 \<dyfet@ostel.com\>.

## Author

Generated automatically by Doxygen for ccAudio from the source code.
