Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 208eeb8b1b7bb51bba095eb93ef0795f > files > 117

libccaudio0.5-0.5.3-1mdk.i586.rpm

\section{ost::Audio\-Copy  Class Reference}
\label{classost_1_1_audio_copy}\index{ost::AudioCopy@{ost::Audio\-Copy}}
{\bf Audio\-Copy} {\rm (p.\,\pageref{classost_1_1_audio_copy})} is used for certain kinds of stream join operations. fill an audio sample frame from another. 


{\tt \#include $<$audio.h$>$}

Inheritance diagram for ost::Audio\-Copy::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classost_1_1_audio_copy}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
{\bf Audio\-Copy} (unsigned frame, {\bf audioencoding\_\-t} {\bf encoding}=PCM16\_\-AUDIO\_\-ENCODING, unsigned {\bf rate}=8000)
\item 
bool {\bf Copy} (void)
\item 
bool {\bf is\-Empty} (void)
\end{CompactItemize}
\subsection*{Protected Methods}
\begin{CompactItemize}
\item 
virtual {\bf Audio\-Sample} $\ast$ {\bf Fill} (void)=0
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
unsigned char $\ast$ {\bf next}
\item 
unsigned {\bf left}
\end{CompactItemize}


\subsection{Detailed Description}
{\bf Audio\-Copy} {\rm (p.\,\pageref{classost_1_1_audio_copy})} 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 {\bf Audio\-Sample} {\rm (p.\,\pageref{classost_1_1_audio_sample})} 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.

\begin{Desc}
\item[Author: ]\par
David Sugar $<${\tt dyfet@ostel.com}$>$. \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::AudioCopy@{ost::Audio\-Copy}!AudioCopy@{AudioCopy}}
\index{AudioCopy@{AudioCopy}!ost::AudioCopy@{ost::Audio\-Copy}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::Audio\-Copy::Audio\-Copy (unsigned {\em frame}, {\bf audioencoding\_\-t} {\em encoding} = PCM16\_\-AUDIO\_\-ENCODING, unsigned {\em rate} = 8000)}\label{classost_1_1_audio_copy_a0}




\subsection{Member Function Documentation}
\index{ost::AudioCopy@{ost::Audio\-Copy}!Copy@{Copy}}
\index{Copy@{Copy}!ost::AudioCopy@{ost::Audio\-Copy}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool ost::Audio\-Copy::Copy (void)}\label{classost_1_1_audio_copy_a1}


\index{ost::AudioCopy@{ost::Audio\-Copy}!Fill@{Fill}}
\index{Fill@{Fill}!ost::AudioCopy@{ost::Audio\-Copy}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Audio\-Sample}$\ast$ ost::Audio\-Copy::Fill (void)\hspace{0.3cm}{\tt  [protected, pure virtual]}}\label{classost_1_1_audio_copy_b0}


\index{ost::AudioCopy@{ost::Audio\-Copy}!isEmpty@{isEmpty}}
\index{isEmpty@{isEmpty}!ost::AudioCopy@{ost::Audio\-Copy}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool ost::Audio\-Copy::is\-Empty (void)\hspace{0.3cm}{\tt  [inline]}}\label{classost_1_1_audio_copy_a2}




\subsection{Member Data Documentation}
\index{ost::AudioCopy@{ost::Audio\-Copy}!left@{left}}
\index{left@{left}!ost::AudioCopy@{ost::Audio\-Copy}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned ost::Audio\-Copy::left\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_audio_copy_n1}


\index{ost::AudioCopy@{ost::Audio\-Copy}!next@{next}}
\index{next@{next}!ost::AudioCopy@{ost::Audio\-Copy}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ ost::Audio\-Copy::next\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_audio_copy_n0}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf audio.h}\end{CompactItemize}