📄 aflibaudiomixer_8h-source.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>aflibAudioMixer.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> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>aflibAudioMixer.h</h1><a href="aflibAudioMixer_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) 2000-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 _AFLIBAUDIOMIXER_H_</font>00024 <font class="preprocessor"></font><font class="preprocessor">#define _AFLIBAUDIOMIXER_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 <config.h></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 <font class="preprocessor">#include "<a class="code" href="aflibMixerItem_8h.html">aflibMixerItem.h</a>"</font>00032 <font class="preprocessor">#include <set></font>00033 <font class="keyword">using</font> std::set;00034 00057 <font class="keyword">class </font><a class="code" href="classaflibAudioMixer.html">aflibAudioMixer</a> : <font class="keyword">public</font> <a class="code" href="classaflibAudio.html">aflibAudio</a> {00058 00059 <font class="keyword">public</font>:00060 00061 <font class="comment">// Available contructors and destructors</font>00062 <a class="code" href="classaflibAudioMixer.html#a1">aflibAudioMixer</a>(00063 <a class="code" href="classaflibAudio.html">aflibAudio</a>& audio);00064 00065 <a class="code" href="classaflibAudioMixer.html#a1">aflibAudioMixer</a>();00066 00067 <a class="code" href="classaflibAudioMixer.html#a2">~aflibAudioMixer</a>();00068 00069 <a class="code" href="aflib_8h.html#a33">aflibStatus</a>00070 <a class="code" href="classaflibAudioMixer.html#a3">addMix</a>(00071 <font class="keywordtype">int</font> input,00072 <font class="keywordtype">int</font> in_chan,00073 <font class="keywordtype">int</font> out_chan,00074 <font class="keywordtype">int</font> amp);00075 00076 <a class="code" href="aflib_8h.html#a33">aflibStatus</a>00077 <a class="code" href="classaflibAudioMixer.html#a4">delMix</a>(00078 <font class="keywordtype">int</font> input,00079 <font class="keywordtype">int</font> in_chan,00080 <font class="keywordtype">int</font> out_chan);00081 00082 <font class="keywordtype">void</font>00083 <a class="code" href="classaflibAudioMixer.html#a5">delAllMix</a>();00084 00085 <font class="keywordtype">int</font>00086 <a class="code" href="classaflibAudioMixer.html#a6">getNumOfMixs</a>();00087 00088 <a class="code" href="aflib_8h.html#a33">aflibStatus</a>00089 <a class="code" href="classaflibAudioMixer.html#a7">getMix</a>(00090 <font class="keywordtype">int</font> mix_num,00091 <font class="keywordtype">int</font>& input,00092 <font class="keywordtype">int</font>& in_chan,00093 <font class="keywordtype">int</font>& out_chan,00094 <font class="keywordtype">int</font>& amp);00095 00096 <font class="keywordtype">void</font>00097 <a class="code" href="classaflibAudioMixer.html#a8">setInputConfig</a>(<font class="keyword">const</font> <a class="code" href="classaflibConfig.html">aflibConfig</a>& cfg);00098 00099 <a class="code" href="aflib_8h.html#a33">aflibStatus</a>00100 <a class="code" href="classaflibAudioMixer.html#a9">compute_segment</a>(00101 list<aflibData *>& data,00102 <font class="keywordtype">long</font> <font class="keywordtype">long</font> position = -1) ;00103 00105 <font class="keyword">const</font> <font class="keywordtype">char</font> *<a name="l00106"></a><a class="code" href="classaflibAudioMixer.html#a10">00106</a> <a class="code" href="classaflibAudioMixer.html#a10">getName</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <font class="stringliteral">"aflibAudioMixer"</font>;};00107 00108 <font class="keywordtype">bool</font>00109 <a class="code" href="classaflibAudioMixer.html#a11">isDataSizeSupported</a>(<a class="code" href="aflib_8h.html#a30">aflib_data_size</a> size);00110 00111 <font class="keywordtype">bool</font>00112 <a class="code" href="classaflibAudioMixer.html#a12">isEndianSupported</a>(<a class="code" href="aflib_8h.html#a31">aflib_data_endian</a> end);00113 00114 <font class="keywordtype">bool</font>00115 <a class="code" href="classaflibAudioMixer.html#a13">isSampleRateSupported</a>(<font class="keywordtype">int</font>& rate);00116 00117 00118 <font class="keyword">private</font>:00119 00120 <a class="code" href="classaflibAudioMixer.html#a1">aflibAudioMixer</a>(<font class="keyword">const</font> <a class="code" href="classaflibAudioMixer.html">aflibAudioMixer</a>& op);00121 00122 <font class="keyword">const</font> <a class="code" href="classaflibAudioMixer.html">aflibAudioMixer</a>&00123 operator=(<font class="keyword">const</font> <a class="code" href="classaflibAudioMixer.html">aflibAudioMixer</a>& op);00124 00125 <font class="keywordtype">void</font>00126 <a class="code" href="classaflibChain.html#b3">parentWasDestroyed</a>(<font class="keywordtype">int</font> parent_id);00127 00128 00129 set < aflibMixerItem, less<aflibMixerItem> > _mix_item;00130 00131 };00132 00133 <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 + -