Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > cd2667db9dd0e54dd9cc3719d6459ef1 > files > 40

libalsaplayer0-devel-0.99.76-5mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>AlsaPlayer: output_plugin.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">alsaplayer</a></div>
<h1>output_plugin.h</h1><a href="output__plugin_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*  output_plugin.h</span>
00002 <span class="comment"> *  Copyright (C) 1999-2002 Andy Lo A Foe &lt;andy@alsaplayer.org&gt;</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> *  This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> *  it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> *  the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> *  (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> *  This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> *  but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
00012 <span class="comment"> *  GNU General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> *  You should have received a copy of the GNU General Public License</span>
00015 <span class="comment"> *  along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> *</span>
00018 <span class="comment"> *</span>
00019 <span class="comment"> *</span>
00020 <span class="comment"> *  $Id: output_plugin.h,v 1.8 2003/04/08 15:14:58 adnans Exp $</span>
00021 <span class="comment"> *  </span>
00022 <span class="comment"> */</span> 
00023 
00024 <span class="preprocessor">#ifndef __output_plugin_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __output_plugin_h__</span>
00026 <span class="preprocessor"></span>
<a name="l00027"></a><a class="code" href="output__plugin_8h.html#a0">00027</a> <span class="preprocessor">#define OUTPUT_PLUGIN_BASE_VERSION      0x1000</span>
<a name="l00028"></a><a class="code" href="output__plugin_8h.html#a1">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define OUTPUT_PLUGIN_VERSION   (OUTPUT_PLUGIN_BASE_VERSION + 6)</span>
00029 <span class="preprocessor"></span>
<a name="l00030"></a><a class="code" href="output__plugin_8h.html#a2">00030</a> <span class="keyword">typedef</span> <span class="keywordtype">int</span> output_version_type;
<a name="l00031"></a><a class="code" href="output__plugin_8h.html#a3">00031</a> <span class="keyword">typedef</span> int(*output_init_type)(void);
<a name="l00032"></a><a class="code" href="output__plugin_8h.html#a4">00032</a> <span class="keyword">typedef</span> int(*output_open_type)(<span class="keyword">const</span> <span class="keywordtype">char</span> *path);
<a name="l00033"></a><a class="code" href="output__plugin_8h.html#a5">00033</a> <span class="keyword">typedef</span> void(*output_close_type)(void);
<a name="l00034"></a><a class="code" href="output__plugin_8h.html#a6">00034</a> <span class="keyword">typedef</span> int(*output_write_type)(<span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> byte_count);
<a name="l00035"></a><a class="code" href="output__plugin_8h.html#a7">00035</a> <span class="keyword">typedef</span> int(*output_start_callbacks_type)(<span class="keywordtype">void</span> *data);
<a name="l00036"></a><a class="code" href="output__plugin_8h.html#a8">00036</a> <span class="keyword">typedef</span> int(*output_set_buffer_type)(<span class="keywordtype">int</span> *frag_size, <span class="keywordtype">int</span> *frag_count, <span class="keywordtype">int</span> *channels);
<a name="l00037"></a><a class="code" href="output__plugin_8h.html#a9">00037</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> int(*output_set_sample_rate_type)(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> rate);
<a name="l00038"></a><a class="code" href="output__plugin_8h.html#a10">00038</a> <span class="keyword">typedef</span> int(*output_get_queue_count_type)(void);
<a name="l00039"></a><a class="code" href="output__plugin_8h.html#a11">00039</a> <span class="keyword">typedef</span> int(*output_get_latency_type)(void);
00040 
<a name="l00041"></a><a class="code" href="struct__output__plugin.html">00041</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__output__plugin.html">_output_plugin</a>
00042 {
<a name="l00046"></a><a class="code" href="struct__output__plugin.html#o0">00046</a>         <a class="code" href="output__plugin_8h.html#a2">output_version_type</a> version;
00047 
<a name="l00051"></a><a class="code" href="struct__output__plugin.html#o1">00051</a>         <span class="keywordtype">char</span> *name;
00052 
<a name="l00056"></a><a class="code" href="struct__output__plugin.html#o2">00056</a>         <span class="keywordtype">char</span> *author;
00057 
<a name="l00062"></a><a class="code" href="struct__output__plugin.html#o3">00062</a>         <a class="code" href="output__plugin_8h.html#a3">output_init_type</a> init;
00063 
<a name="l00070"></a><a class="code" href="struct__output__plugin.html#o4">00070</a>         <a class="code" href="output__plugin_8h.html#a4">output_open_type</a> open;
00071 
<a name="l00075"></a><a class="code" href="struct__output__plugin.html#o5">00075</a>         <a class="code" href="output__plugin_8h.html#a5">output_close_type</a> close;
00076 
<a name="l00085"></a><a class="code" href="struct__output__plugin.html#o6">00085</a>         <a class="code" href="output__plugin_8h.html#a6">output_write_type</a> write;
00086 
<a name="l00092"></a><a class="code" href="struct__output__plugin.html#o7">00092</a>         <a class="code" href="output__plugin_8h.html#a7">output_start_callbacks_type</a> start_callbacks;
00093         
<a name="l00105"></a><a class="code" href="struct__output__plugin.html#o8">00105</a>         <a class="code" href="output__plugin_8h.html#a8">output_set_buffer_type</a> set_buffer;
00106         
<a name="l00113"></a><a class="code" href="struct__output__plugin.html#o9">00113</a>         <a class="code" href="output__plugin_8h.html#a9">output_set_sample_rate_type</a> set_sample_rate;
00114 
<a name="l00119"></a><a class="code" href="struct__output__plugin.html#o10">00119</a>         <a class="code" href="output__plugin_8h.html#a10">output_get_queue_count_type</a> get_queue_count;
00120         
<a name="l00125"></a><a class="code" href="struct__output__plugin.html#o11">00125</a>         <a class="code" href="output__plugin_8h.html#a11">output_get_latency_type</a> get_latency;
00126 } <a class="code" href="struct__output__plugin.html">output_plugin</a>;
00127 
<a name="l00128"></a><a class="code" href="output__plugin_8h.html#a13">00128</a> <span class="keyword">typedef</span> <a class="code" href="struct__output__plugin.html">output_plugin</a>*(*output_plugin_info_type)(void);
00129 
00130 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Mar 31 10:58:47 2005 for AlsaPlayer by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>