93 lines
5.8 KiB
HTML
93 lines
5.8 KiB
HTML
|
<!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>libmusepack: include/musepack/streaminfo.h Source File</title>
|
||
|
<link href="custom.css" rel="stylesheet" type="text/css">
|
||
|
</head><body>
|
||
|
<!-- Generated by Doxygen 1.4.1 -->
|
||
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
|
||
|
<div class="nav">
|
||
|
<a class="el" href="dir_000000.html">include</a> / <a class="el" href="dir_000001.html">musepack</a></div>
|
||
|
<h1>streaminfo.h</h1><a href="streaminfo_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
|
||
|
00002 <span class="comment"> Copyright (c) 2005, The Musepack Development Team</span>
|
||
|
00003 <span class="comment"> All rights reserved.</span>
|
||
|
00004 <span class="comment"></span>
|
||
|
00005 <span class="comment"> Redistribution and use in source and binary forms, with or without</span>
|
||
|
00006 <span class="comment"> modification, are permitted provided that the following conditions are</span>
|
||
|
00007 <span class="comment"> met:</span>
|
||
|
00008 <span class="comment"></span>
|
||
|
00009 <span class="comment"> * Redistributions of source code must retain the above copyright</span>
|
||
|
00010 <span class="comment"> notice, this list of conditions and the following disclaimer.</span>
|
||
|
00011 <span class="comment"></span>
|
||
|
00012 <span class="comment"> * Redistributions in binary form must reproduce the above</span>
|
||
|
00013 <span class="comment"> copyright notice, this list of conditions and the following</span>
|
||
|
00014 <span class="comment"> disclaimer in the documentation and/or other materials provided</span>
|
||
|
00015 <span class="comment"> with the distribution.</span>
|
||
|
00016 <span class="comment"></span>
|
||
|
00017 <span class="comment"> * Neither the name of the The Musepack Development Team nor the</span>
|
||
|
00018 <span class="comment"> names of its contributors may be used to endorse or promote</span>
|
||
|
00019 <span class="comment"> products derived from this software without specific prior</span>
|
||
|
00020 <span class="comment"> written permission.</span>
|
||
|
00021 <span class="comment"></span>
|
||
|
00022 <span class="comment"> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span>
|
||
|
00023 <span class="comment"> "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span>
|
||
|
00024 <span class="comment"> LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span>
|
||
|
00025 <span class="comment"> A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT</span>
|
||
|
00026 <span class="comment"> OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</span>
|
||
|
00027 <span class="comment"> SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</span>
|
||
|
00028 <span class="comment"> LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span>
|
||
|
00029 <span class="comment"> DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span>
|
||
|
00030 <span class="comment"> THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span>
|
||
|
00031 <span class="comment"> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span>
|
||
|
00032 <span class="comment"> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
|
||
|
00033 <span class="comment">*/</span>
|
||
|
00034
|
||
|
00036
|
||
|
00037 <span class="preprocessor">#ifndef _musepack_streaminfo_h_</span>
|
||
|
00038 <span class="preprocessor"></span><span class="preprocessor">#define _musepack_streaminfo_h_</span>
|
||
|
00039 <span class="preprocessor"></span>
|
||
|
00040 <span class="keyword">typedef</span> mpc_int32_t mpc_streaminfo_off_t;
|
||
|
00041
|
||
|
00046 <span class="keyword">typedef</span> <span class="keyword">struct </span>mpc_streaminfo {
|
||
|
00048
|
||
|
00049 mpc_uint32_t sample_freq;
|
||
|
00050 mpc_uint32_t channels;
|
||
|
00051 mpc_streaminfo_off_t header_position;
|
||
|
00052 mpc_uint32_t stream_version;
|
||
|
00053 mpc_uint32_t bitrate;
|
||
|
00054 <span class="keywordtype">double</span> average_bitrate;
|
||
|
00055 mpc_uint32_t frames;
|
||
|
00056 mpc_int64_t pcm_samples;
|
||
|
00057 mpc_uint32_t max_band;
|
||
|
00058 mpc_uint32_t is;
|
||
|
00059 mpc_uint32_t ms;
|
||
|
00060 mpc_uint32_t block_size;
|
||
|
00061 mpc_uint32_t profile;
|
||
|
00062 <span class="keyword">const</span> <span class="keywordtype">char</span>* profile_name;
|
||
|
00063
|
||
|
00064
|
||
|
00066
|
||
|
00067 mpc_int16_t gain_title;
|
||
|
00068 mpc_int16_t gain_album;
|
||
|
00069 mpc_uint16_t peak_album;
|
||
|
00070 mpc_uint16_t peak_title;
|
||
|
00071
|
||
|
00072
|
||
|
00074
|
||
|
00075 mpc_uint32_t is_true_gapless;
|
||
|
00076 mpc_uint32_t last_frame_samples;
|
||
|
00077
|
||
|
00078 mpc_uint32_t encoder_version;
|
||
|
00079 <span class="keywordtype">char</span> encoder[256];
|
||
|
00080
|
||
|
00081 mpc_streaminfo_off_t tag_offset;
|
||
|
00082 mpc_streaminfo_off_t total_file_length;
|
||
|
00083
|
||
|
00084 } mpc_streaminfo;
|
||
|
00085
|
||
|
00086 <span class="preprocessor">#endif // _musepack_streaminfo_h_</span>
|
||
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jan 22 09:34:06 2005 for libmusepack by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>
|
||
|
</body>
|
||
|
</html>
|