diff options
Diffstat (limited to 'Graphic_Equalizer_Split/doc/html/audio_8hch-source.html')
-rw-r--r-- | Graphic_Equalizer_Split/doc/html/audio_8hch-source.html | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/Graphic_Equalizer_Split/doc/html/audio_8hch-source.html b/Graphic_Equalizer_Split/doc/html/audio_8hch-source.html new file mode 100644 index 0000000..48b00aa --- /dev/null +++ b/Graphic_Equalizer_Split/doc/html/audio_8hch-source.html @@ -0,0 +1,84 @@ +<!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>Graphic Equalizer 2: C:/Project Marcel & Oliver/Graphic_Equalizer/include/audio.hch 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="main.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">C:</a> / <a class="el" href="dir_000001.html">Project Marcel & Oliver</a> / <a class="el" href="dir_000002.html">Graphic_Equalizer</a> / <a class="el" href="dir_000003.html">include</a></div> +<h1>audio.hch</h1><a href="audio_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 +00019 <span class="preprocessor">#ifndef _AUDIO_HCH</span> +<a name="l00020"></a><a class="code" href="audio_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _AUDIO_HCH 1</span> +00021 <span class="preprocessor"></span> +00022 <span class="comment">/*</span> +00023 <span class="comment"> * Type definition of the shared memory to be used in various processes</span> +00024 <span class="comment"> */</span> +<a name="l00025"></a><a class="code" href="structaudiodata__t.html">00025</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ +00026 mpram { +00027 ram <span class="keywordtype">unsigned</span> 7 write[256]; +00028 rom <span class="keywordtype">unsigned</span> 7 read[256]; +00029 } fft_info with { block = <span class="stringliteral">"BlockRAM"</span>}; +00030 mpram { +00031 ram <span class="keywordtype">unsigned</span> 6 write[256]; +00032 rom <span class="keywordtype">unsigned</span> 6 read[256]; +00033 } ifft_info with { block = <span class="stringliteral">"BlockRAM"</span>}; +<a name="l00034"></a><a class="code" href="structaudiodata__t.html#o0">00034</a> <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr; +<a name="l00035"></a><a class="code" href="structaudiodata__t.html#o1">00035</a> <span class="keywordtype">unsigned</span> 1 display_log; +00036 } <a class="code" href="structaudiodata__t.html">audiodata_t</a>; +00037 +00038 +00039 +00040 +00041 <span class="comment">/*</span> +00042 <span class="comment"> * States used to indicate wether audio data is sampled.</span> +00043 <span class="comment"> */</span> +<a name="l00044"></a><a class="code" href="audio_8hch.html#a1">00044</a> <span class="preprocessor">#define AUDIO_NOT_READY 0</span> +<a name="l00045"></a><a class="code" href="audio_8hch.html#a2">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define AUDIO_READY 1</span> +00046 <span class="preprocessor"></span> +00047 +00048 +00049 <span class="comment">/*</span> +00050 <span class="comment"> * Line in or Mic in aliases for audio_init.</span> +00051 <span class="comment"> */</span> +<a name="l00052"></a><a class="code" href="audio_8hch.html#a3">00052</a> <span class="preprocessor">#define LINE_IN RC200AudioInLineIn</span> +<a name="l00053"></a><a class="code" href="audio_8hch.html#a4">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define MIC_IN RC200AudioInMicrophone</span> +00054 <span class="preprocessor"></span> +00055 +00056 +00057 <span class="comment">/*</span> +00058 <span class="comment"> * Sample Rate Aliases for audio_init.</span> +00059 <span class="comment"> */</span> +<a name="l00060"></a><a class="code" href="audio_8hch.html#a5">00060</a> <span class="preprocessor">#define SR_8000 RC200AudioSampleRate8000</span> +<a name="l00061"></a><a class="code" href="audio_8hch.html#a6">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_11025 RC200AudioSampleRate11025</span> +<a name="l00062"></a><a class="code" href="audio_8hch.html#a7">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_16000 RC200AudioSampleRate16000</span> +<a name="l00063"></a><a class="code" href="audio_8hch.html#a8">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_22050 RC200AudioSampleRate22050</span> +<a name="l00064"></a><a class="code" href="audio_8hch.html#a9">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_44100 RC200AudioSampleRate44100</span> +<a name="l00065"></a><a class="code" href="audio_8hch.html#a10">00065</a> <span class="preprocessor"></span><span class="preprocessor">#define SR_48000 RC200AudioSampleRate48000</span> +00066 <span class="preprocessor"></span> +00067 +00068 +00069 <span class="comment">/*</span> +00070 <span class="comment"> * Initialize the Audio sub-system. gain_level sets the internal amplifier to</span> +00071 <span class="comment"> * passed level, input_source chooses between line in or mic in. The</span> +00072 <span class="comment"> * sample_rate is set to supplied rate. Defines for these are mentioned above.</span> +00073 <span class="comment"> */</span> +00074 macro proc <a class="code" href="audio_8hcc.html#a0">audio_init</a>(gain_level, input_source, sample_rate, AUDIOIN, AUDIOOUT); +00075 +00076 +00077 +00078 <span class="comment">/*</span> +00079 <span class="comment"> * Main audiodriver loop. This procedure never returns! It handles audio io and</span> +00080 <span class="comment"> * updates the shared memory. It needs Audio I/O handlers passed.</span> +00081 <span class="comment"> */</span> +00082 macro proc <a class="code" href="audio_8hcc.html#a1">audio_main</a>(audiodata, AUDIOIN, AUDIOOUT); +00083 +00084 <span class="preprocessor">#else</span> +00085 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file audio.hch multiple times included"</span> +00086 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _AUDIO_HCH --- */</span> +00087 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:37:05 2004 for Graphic Equalizer 2 by +<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> |