⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aflibaudioconstantsrc_8h-source.html

📁 一个共享源码的音频库5(doc 文档)
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>aflibAudioConstantSrc.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>aflibAudioConstantSrc.h</h1><a href="aflibAudioConstantSrc_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>00002 <font class="comment"> * Copyright: (C) 1999-2001 Bruce W. Forsberg</font>00003 <font class="comment"> *</font>00004 <font class="comment"> *   This library is free software; you can redistribute it and/or</font>00005 <font class="comment"> *   modify it under the terms of the GNU Lesser General Public</font>00006 <font class="comment"> *   License as published by the Free Software Foundation; either</font>00007 <font class="comment"> *   version 2.1 of the License, or any later version.</font>00008 <font class="comment"> *</font>00009 <font class="comment"> *   This library is distributed in the hope that it will be useful,</font>00010 <font class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of</font>00011 <font class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</font>00012 <font class="comment"> *   Lesser General Public License for more details.</font>00013 <font class="comment"> *</font>00014 <font class="comment"> *   You should have received a copy of the GNU Lesser General Public</font>00015 <font class="comment"> *   License along with this library; if not, write to the Free Software</font>00016 <font class="comment"> *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA</font>00017 <font class="comment"> *</font>00018 <font class="comment"> *   Bruce Forsberg  forsberg@tns.net</font>00019 <font class="comment"> *</font>00020 <font class="comment"> */</font>00021 00022 00023 <font class="preprocessor">#ifndef _AFLIBAUDIOCONSTANTSRC_H_</font>00024 <font class="preprocessor"></font><font class="preprocessor">#define _AFLIBAUDIOCONSTANTSRC_H_</font>00025 <font class="preprocessor"></font>00026 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>00027 <font class="preprocessor"></font><font class="preprocessor">#include &lt;config.h&gt;</font>00028 <font class="preprocessor">#endif</font>00029 <font class="preprocessor"></font>00030 <font class="preprocessor">#include "<a class="code" href="aflibAudio_8h.html">aflibAudio.h</a>"</font>00031 00032 00048 <font class="keyword">class </font><a class="code" href="classaflibAudioConstantSrc.html">aflibAudioConstantSrc</a>: <font class="keyword">public</font> <a class="code" href="classaflibAudio.html">aflibAudio</a> {00049 00050 <font class="keyword">public</font>:00051 <a name="l00052"></a><a class="code" href="classaflibAudioConstantSrc.html#s4">00052</a> <font class="keyword">enum</font> <a class="code" href="classaflibAudioConstantSrc.html#s4">waveform_type</a>00053 {00054    <a class="code" href="classaflibAudioConstantSrc.html#s4s0">WAVEFORM_DCLEVEL</a>,00055    <a class="code" href="classaflibAudioConstantSrc.html#s4s1">WAVEFORM_TRIANGLE</a>,00056    <a class="code" href="classaflibAudioConstantSrc.html#s4s2">WAVEFORM_SQUAREWAVE</a>,00057    <a class="code" href="classaflibAudioConstantSrc.html#s4s3">WAVEFORM_SINEWAVE</a>00058 };00059 00060    <font class="comment">// Available contructors and destructors</font>00061    <a class="code" href="classaflibAudioConstantSrc.html#a1">aflibAudioConstantSrc</a>(<a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; audio);00062    <a class="code" href="classaflibAudioConstantSrc.html#a1">aflibAudioConstantSrc</a>();00063 00064    <a class="code" href="classaflibAudioConstantSrc.html#a2">~aflibAudioConstantSrc</a>();00065 00066    <font class="keywordtype">void</font>00067    <a class="code" href="classaflibAudioConstantSrc.html#a3">setWaveformType</a>(00068       <a class="code" href="classaflibAudioConstantSrc.html#s4">aflibAudioConstantSrc::waveform_type</a> wave,00069       <font class="keywordtype">double</font>  max_amp,00070       <font class="keywordtype">double</font>  min_amp,00071       <font class="keywordtype">int</font>  frequency);00072 00073    <a class="code" href="aflib_8h.html#a33">aflibStatus</a>00074    <a class="code" href="classaflibAudioConstantSrc.html#a4">compute_segment</a>(00075       list&lt;aflibData *&gt;&amp; data,00076       <font class="keywordtype">long</font> <font class="keywordtype">long</font> position = -1) ;00077 00079    <font class="keyword">const</font> <font class="keywordtype">char</font> *<a name="l00080"></a><a class="code" href="classaflibAudioConstantSrc.html#a5">00080</a>    <a class="code" href="classaflibAudioConstantSrc.html#a5">getName</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <font class="stringliteral">"aflibAudioConstantSrc"</font>;};00081 00082 <font class="keyword">private</font>:00083 00084 00085    <a class="code" href="classaflibAudioConstantSrc.html#a1">aflibAudioConstantSrc</a>(<font class="keyword">const</font> <a class="code" href="classaflibAudioConstantSrc.html">aflibAudioConstantSrc</a>&amp; op);00086 00087    <font class="keyword">const</font> <a class="code" href="classaflibAudioConstantSrc.html">aflibAudioConstantSrc</a>&amp;00088    operator=(<font class="keyword">const</font> <a class="code" href="classaflibAudioConstantSrc.html">aflibAudioConstantSrc</a>&amp; op);00089 00090 <a class="code" href="classaflibAudioConstantSrc.html#s4">waveform_type</a>  _wave;00091 <font class="keywordtype">double</font>         _amp_max;00092 <font class="keywordtype">double</font>         _amp_min;00093 <font class="keywordtype">int</font>            _freq;00094 00095 };00096 00097 00098 <font class="preprocessor">#endif</font></pre></div><hr><address align="right"><small>Generated on Wed May 8 20:51:05 2002 for Open Source Audio Library Project by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -