Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 6974

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>libkmid: player.h Source File (libkmid)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">libkmid</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
<div class="header">
  <div class="headertitle">
<div class="title">player.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*  player.h  - class MidiPlayer. Plays a set of tracks</span>
<a name="l00002"></a>00002 <span class="comment">    This file is part of LibKMid 0.9.5</span>
<a name="l00003"></a>00003 <span class="comment">    Copyright (C) 1997,98,99,2000  Antonio Larrosa Jimenez</span>
<a name="l00004"></a>00004 <span class="comment">    LibKMid&#39;s homepage : http://www.arrakis.es/~rlarrosa/libkmid.html</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">    This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment">    modify it under the terms of the GNU Library General Public</span>
<a name="l00008"></a>00008 <span class="comment">    License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment">    version 2 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"> </span>
<a name="l00011"></a>00011 <span class="comment">    This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment">    Library General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"> </span>
<a name="l00016"></a>00016 <span class="comment">    You should have received a copy of the GNU Library General Public License</span>
<a name="l00017"></a>00017 <span class="comment">    along with this library; see the file COPYING.LIB.  If not, write to</span>
<a name="l00018"></a>00018 <span class="comment">    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,</span>
<a name="l00019"></a>00019 <span class="comment">    Boston, MA 02110-1301, USA.                                                  </span>
<a name="l00020"></a>00020 <span class="comment"></span>
<a name="l00021"></a>00021 <span class="comment">    Send comments and bug fixes to Antonio Larrosa &lt;larrosa@kde.org&gt;</span>
<a name="l00022"></a>00022 <span class="comment"></span>
<a name="l00023"></a>00023 <span class="comment">***************************************************************************/</span>
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef _PLAYER_H</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define _PLAYER_H</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;libkmid/dattypes.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;libkmid/midfile.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;libkmid/deviceman.h&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;libkmid/track.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;libkmid/notearray.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;kdemacros.h&gt;</span>
<a name="l00033"></a>00033 
<a name="l00048"></a><a class="code" href="structSpecialEvent.html">00048</a> <span class="keyword">struct </span><a class="code" href="structSpecialEvent.html" title="This struct stores text, lyrics and change tempo events among others.">SpecialEvent</a>
<a name="l00049"></a>00049 {
<a name="l00053"></a><a class="code" href="structSpecialEvent.html#ae99bf52fc76952d257e93d0e2d29386e">00053</a>   <span class="keywordtype">int</span> <a class="code" href="structSpecialEvent.html#ae99bf52fc76952d257e93d0e2d29386e" title="An integer ID, that is assigned in order to each SpecialEvent.">id</a>;
<a name="l00054"></a>00054 
<a name="l00060"></a><a class="code" href="structSpecialEvent.html#ac2fae285709f685d06590520642d08dc">00060</a>   ulong <a class="code" href="structSpecialEvent.html#ac2fae285709f685d06590520642d08dc" title="Delta milliseconds from the previous SpecialEvent.">diffmilliseconds</a>;
<a name="l00061"></a>00061 
<a name="l00068"></a><a class="code" href="structSpecialEvent.html#ab38473129e31721939864806f504bc51">00068</a>   ulong <a class="code" href="structSpecialEvent.html#ab38473129e31721939864806f504bc51" title="The absolute millisecond (from the beginning of the song) at which this SpecialEvent object is played...">absmilliseconds</a>;
<a name="l00069"></a>00069 
<a name="l00073"></a><a class="code" href="structSpecialEvent.html#a3761e64f20c79e26bc1746a56896f2ad">00073</a>   <span class="keywordtype">int</span> <a class="code" href="structSpecialEvent.html#a3761e64f20c79e26bc1746a56896f2ad" title="MIDI ticks (from the beginning of the song) at which this event is played.">ticks</a>;
<a name="l00074"></a>00074 
<a name="l00089"></a><a class="code" href="structSpecialEvent.html#acf342fb2a34e0b118a1376c41848b2db">00089</a>   <span class="keywordtype">int</span> <a class="code" href="structSpecialEvent.html#acf342fb2a34e0b118a1376c41848b2db" title="Type of event.">type</a>;
<a name="l00090"></a>00090 
<a name="l00094"></a><a class="code" href="structSpecialEvent.html#a70be72dd69b6733c85b4519f92b1a06f">00094</a>   <span class="keywordtype">char</span> <a class="code" href="structSpecialEvent.html#a70be72dd69b6733c85b4519f92b1a06f" title="Text field .">text</a>[1024];
<a name="l00095"></a>00095 
<a name="l00099"></a><a class="code" href="structSpecialEvent.html#a40d1ef921f86a255e03bf0008caa4d99">00099</a>   ulong <a class="code" href="structSpecialEvent.html#a40d1ef921f86a255e03bf0008caa4d99" title="Tempo field .">tempo</a>;
<a name="l00104"></a><a class="code" href="structSpecialEvent.html#a83e447c45a8189d739bd8543fe1faa8a">00104</a>   <span class="keywordtype">int</span> <a class="code" href="structSpecialEvent.html#a83e447c45a8189d739bd8543fe1faa8a" title="Numerator .">num</a>;
<a name="l00109"></a><a class="code" href="structSpecialEvent.html#a8c4a74e1a0a5c39e339a981e0b453273">00109</a>   <span class="keywordtype">int</span> <a class="code" href="structSpecialEvent.html#a8c4a74e1a0a5c39e339a981e0b453273" title="Denominator .">den</a>;
<a name="l00110"></a>00110 
<a name="l00121"></a><a class="code" href="structSpecialEvent.html#a84bce740da459beb1be0f558818614ef">00121</a>   <span class="keyword">struct </span><a class="code" href="structSpecialEvent.html" title="This struct stores text, lyrics and change tempo events among others.">SpecialEvent</a> *<a class="code" href="structSpecialEvent.html#a84bce740da459beb1be0f558818614ef" title="This struct stores text, lyrics and change tempo events among others.">next</a>;
<a name="l00122"></a>00122 
<a name="l00127"></a>00127 };
<a name="l00128"></a>00128 
<a name="l00129"></a>00129 
<a name="l00138"></a><a class="code" href="structPlayerController.html">00138</a> <span class="keyword">struct </span><a class="code" href="structPlayerController.html" title="PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...">PlayerController</a>
<a name="l00139"></a>00139 {
<a name="l00140"></a>00140   <span class="keyword">volatile</span> ulong  ticksTotal;
<a name="l00141"></a>00141   <span class="keyword">volatile</span> ulong  ticksPlayed;
<a name="l00142"></a>00142   <span class="keyword">volatile</span> <span class="keywordtype">double</span> millisecsPlayed;
<a name="l00143"></a>00143   <span class="keyword">volatile</span> ulong  beginmillisec;
<a name="l00144"></a>00144 
<a name="l00145"></a>00145   <span class="keyword">volatile</span> <span class="keywordtype">int</span> tempo;
<a name="l00146"></a>00146   <span class="keyword">volatile</span> <span class="keywordtype">int</span> num;
<a name="l00147"></a>00147   <span class="keyword">volatile</span> <span class="keywordtype">int</span> den;
<a name="l00148"></a>00148 
<a name="l00149"></a>00149   <span class="keyword">volatile</span> <span class="keywordtype">int</span> SPEVprocessed;
<a name="l00150"></a>00150   <span class="keyword">volatile</span> <span class="keywordtype">int</span> SPEVplayed;
<a name="l00151"></a>00151 
<a name="l00157"></a><a class="code" href="structPlayerController.html#a11857f06c4977071fa437aa3f0b0adee">00157</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#a11857f06c4977071fa437aa3f0b0adee" title="When pause is released, if the caller must know when the player has opened the devices and is playing...">OK</a>; 
<a name="l00158"></a>00158 
<a name="l00162"></a><a class="code" href="structPlayerController.html#a3b0850cc54ce2882b282eaa8cb712719">00162</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#a3b0850cc54ce2882b282eaa8cb712719" title="When the player is playing (or paused), playing is set to 1.">playing</a>;
<a name="l00163"></a>00163 
<a name="l00167"></a><a class="code" href="structPlayerController.html#a238ef24467903c32ca40157f753b8027">00167</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#a238ef24467903c32ca40157f753b8027" title="When the player is paused, paused is set to 1.">paused</a>;
<a name="l00168"></a>00168 
<a name="l00172"></a><a class="code" href="structPlayerController.html#aa4f205b564905418df30b5b55398a03f">00172</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#aa4f205b564905418df30b5b55398a03f" title="When the player seeking the position of the song, moving is set to 1.">moving</a>;
<a name="l00173"></a>00173 
<a name="l00177"></a><a class="code" href="structPlayerController.html#aca00d4196ab16700723944c16f3ffde6">00177</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#aca00d4196ab16700723944c16f3ffde6" title="When the player has finished playing a song, finished is set to 1.">finished</a>;
<a name="l00178"></a>00178 
<a name="l00184"></a>00184   <span class="keyword">volatile</span> <span class="keywordtype">int</span> message KDE_DEPRECATED; <span class="comment">// set one of the following :</span>
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 <span class="preprocessor">#define PLAYER_DOPAUSE  1</span>
<a name="l00187"></a>00187 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_DOSTOP   2</span>
<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_SETPOS   4</span>
<a name="l00189"></a>00189 <span class="preprocessor"></span><span class="preprocessor">#define PLAYER_HALT 8</span>
<a name="l00190"></a>00190 <span class="preprocessor"></span>
<a name="l00191"></a>00191   <span class="keyword">volatile</span> ulong gotomsec; <span class="comment">//milliseconds to go to,if player_setpos is set</span>
<a name="l00192"></a>00192 
<a name="l00196"></a><a class="code" href="structPlayerController.html#ac4a3daca918f32804ae02c2a14de2792">00196</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#ac4a3daca918f32804ae02c2a14de2792" title="When error is 1, an error has ocurred (i.e.">error</a>;
<a name="l00197"></a>00197 
<a name="l00202"></a><a class="code" href="structPlayerController.html#a927f40c119fbd1fd7d7ec79fbd193fa5">00202</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#a927f40c119fbd1fd7d7ec79fbd193fa5" title="If gm is 1, the song follows the General Midi standard, if gm is 0, the song is in MT 32 format...">gm</a>;
<a name="l00203"></a>00203 
<a name="l00209"></a><a class="code" href="structPlayerController.html#aa4f84e59384e99abc2429c4661018ab6">00209</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#aa4f84e59384e99abc2429c4661018ab6" title="100 means no change, 50 halfs the volume, 200 doubles it (if possible), etc.">volumepercentage</a> ; 
<a name="l00210"></a>00210 
<a name="l00215"></a><a class="code" href="structPlayerController.html#ad10bf404d38e97eb6dfaad4e797010fa">00215</a>   <span class="keyword">volatile</span> <span class="keywordtype">bool</span> <a class="code" href="structPlayerController.html#ad10bf404d38e97eb6dfaad4e797010fa" title="Activate or disactivate the force to use a patch for a given channel.">forcepgm</a>[16];
<a name="l00216"></a>00216 
<a name="l00221"></a><a class="code" href="structPlayerController.html#a46d5932a4179ee63a7bdf8fc2923dc46">00221</a>   <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="structPlayerController.html#a46d5932a4179ee63a7bdf8fc2923dc46" title="Force a given patch in each channel at &quot;this&quot; moment, as determined by forcepgm.">pgm</a>[16];
<a name="l00222"></a>00222 
<a name="l00226"></a><a class="code" href="structPlayerController.html#a196ae9254526602d8cfcfc4cdd47a1f6">00226</a>   <span class="keyword">volatile</span> <span class="keywordtype">double</span> <a class="code" href="structPlayerController.html#a196ae9254526602d8cfcfc4cdd47a1f6" title="Ratio to multiply the tempo to.">ratioTempo</a>;
<a name="l00227"></a>00227 
<a name="l00232"></a>00232   <span class="keyword">volatile</span> <span class="keywordtype">bool</span> isSendingAllNotesOff;
<a name="l00233"></a>00233 
<a name="l00234"></a>00234   <span class="keyword">volatile</span> <a class="code" href="structMidiEvent.html" title="An structure that represents a MIDI event.">MidiEvent</a> *ev;
<a name="l00235"></a>00235 };
<a name="l00236"></a>00236 
<a name="l00237"></a>00237 
<a name="l00260"></a><a class="code" href="classMidiPlayer.html">00260</a> <span class="keyword">class </span>KMID_EXPORT <a class="code" href="classMidiPlayer.html" title="MIDI file player routines .">MidiPlayer</a>
<a name="l00261"></a>00261 {
<a name="l00262"></a>00262   <span class="keyword">class </span>MidiPlayerPrivate;
<a name="l00263"></a>00263   MidiPlayerPrivate *d;
<a name="l00264"></a>00264 
<a name="l00265"></a>00265   <a class="code" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> *midi;
<a name="l00266"></a>00266   <a class="code" href="structMidiFileInfo.html" title="Contains all the information about a MIDI file.">MidiFileInfo</a> *info;
<a name="l00267"></a>00267   <a class="code" href="classMidiTrack.html" title="Stores a MIDI track.">MidiTrack</a> **tracks;
<a name="l00268"></a>00268   <a class="code" href="structSpecialEvent.html" title="This struct stores text, lyrics and change tempo events among others.">SpecialEvent</a> *spev;
<a name="l00269"></a>00269   <a class="code" href="classNoteArray.html" title="Holds a resizeable array of note on/off and patch change events.">NoteArray</a> *na;
<a name="l00270"></a>00270 
<a name="l00271"></a>00271   <span class="keywordtype">int</span> songLoaded;
<a name="l00272"></a>00272 
<a name="l00273"></a>00273   <a class="code" href="structPlayerController.html" title="PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...">PlayerController</a> *ctl;
<a name="l00274"></a>00274 
<a name="l00275"></a>00275   <span class="keywordtype">bool</span> parsesong;
<a name="l00276"></a>00276   <span class="keywordtype">bool</span> generatebeats;
<a name="l00277"></a>00277 
<a name="l00278"></a>00278   <span class="keywordtype">void</span> removeSpecialEvents(<span class="keywordtype">void</span>);
<a name="l00279"></a>00279   <span class="keywordtype">void</span> parseSpecialEvents(<span class="keywordtype">void</span>);
<a name="l00280"></a>00280   <span class="keywordtype">void</span> insertBeat(<a class="code" href="structSpecialEvent.html" title="This struct stores text, lyrics and change tempo events among others.">SpecialEvent</a> *ev,ulong ms,<span class="keywordtype">int</span> num,<span class="keywordtype">int</span> den);
<a name="l00281"></a>00281   <span class="keywordtype">void</span> generateBeats(<span class="keywordtype">void</span>);
<a name="l00282"></a>00282 
<a name="l00283"></a>00283   <span class="comment">//NoteArray *parseNotes(void);</span>
<a name="l00284"></a>00284   <span class="keywordtype">void</span> debugSpecialEvents(<span class="keywordtype">void</span>);
<a name="l00285"></a>00285   <span class="keyword">public</span>:
<a name="l00286"></a>00286 
<a name="l00292"></a>00292   <a class="code" href="classMidiPlayer.html" title="MIDI file player routines .">MidiPlayer</a>(<a class="code" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> *midi_,<a class="code" href="structPlayerController.html" title="PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...">PlayerController</a> *pctl);
<a name="l00293"></a>00293 
<a name="l00297"></a>00297   ~<a class="code" href="classMidiPlayer.html" title="MIDI file player routines .">MidiPlayer</a>();
<a name="l00298"></a>00298 
<a name="l00305"></a>00305   <span class="keywordtype">int</span> loadSong(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename);
<a name="l00306"></a>00306 
<a name="l00311"></a>00311   <span class="keywordtype">void</span> removeSong(<span class="keywordtype">void</span>); 
<a name="l00312"></a>00312 
<a name="l00317"></a><a class="code" href="classMidiPlayer.html#ab6508782a9b5a2d8ac4c4b0164ed1265">00317</a>   <span class="keywordtype">int</span> <a class="code" href="classMidiPlayer.html#ab6508782a9b5a2d8ac4c4b0164ed1265" title="Returns true if there&#39;s a song already loaded (with a previous call to loadSong() ) and false if not...">isSongLoaded</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> songLoaded; }
<a name="l00318"></a>00318 
<a name="l00323"></a><a class="code" href="classMidiPlayer.html#a4f470b8b9146bba3981e09d616b2e9d0">00323</a>   <a class="code" href="structSpecialEvent.html" title="This struct stores text, lyrics and change tempo events among others.">SpecialEvent</a> *<a class="code" href="classMidiPlayer.html#a4f470b8b9146bba3981e09d616b2e9d0" title="Returns the linked list of SpecialEvents objects .">specialEvents</a>() { <span class="keywordflow">return</span> spev; }
<a name="l00324"></a>00324 
<a name="l00333"></a><a class="code" href="classMidiPlayer.html#a62072cb20debc90b1d730433fa36c16f">00333</a>   <a class="code" href="classNoteArray.html" title="Holds a resizeable array of note on/off and patch change events.">NoteArray</a> *<a class="code" href="classMidiPlayer.html#a62072cb20debc90b1d730433fa36c16f" title="Returns and array with the notes playen through the song .">noteArray</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> na; }
<a name="l00334"></a>00334 
<a name="l00335"></a>00335 
<a name="l00355"></a>00355   <span class="keywordtype">void</span> play(<span class="keywordtype">bool</span> calloutput=<span class="keyword">false</span>,<span class="keywordtype">void</span> output(<span class="keywordtype">void</span>) = 0);
<a name="l00356"></a>00356 
<a name="l00362"></a>00362   <span class="keywordtype">void</span> setParseSong(<span class="keywordtype">bool</span> b = <span class="keyword">true</span>);
<a name="l00363"></a>00363 
<a name="l00368"></a>00368   <span class="keywordtype">void</span> setGenerateBeats(<span class="keywordtype">bool</span> b = <span class="keyword">false</span>);
<a name="l00369"></a>00369 
<a name="l00375"></a><a class="code" href="classMidiPlayer.html#a259265ec90a3e5b80010f5903b195bf4">00375</a>   <a class="code" href="structMidiFileInfo.html" title="Contains all the information about a MIDI file.">MidiFileInfo</a> *<a class="code" href="classMidiPlayer.html#a259265ec90a3e5b80010f5903b195bf4" title="Returns information about the current MIDI file.">information</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> info; }
<a name="l00376"></a>00376 
<a name="l00386"></a>00386   <span class="keywordtype">void</span> setPos(ulong gotomsec, <span class="keyword">class</span> <a class="code" href="classMidiStatus.html" title="Stores the status of a MIDI device .">MidiStatus</a> *midistat);
<a name="l00387"></a>00387 
<a name="l00392"></a>00392   <span class="keywordtype">void</span> setTempoRatio(<span class="keywordtype">double</span> ratio);
<a name="l00393"></a>00393 
<a name="l00394"></a>00394 };
<a name="l00395"></a>00395 
<a name="l00396"></a>00396 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>libkmid</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classAlsaOut.html">alsaout</option>,  <option value="classDeviceManager.html">devicemanager</option>,  <option value="classFMOut.html">fmout</option>,  <option value="classGUSOut.html">gusout</option>,  <option value="classMidiMapper.html">midimapper</option>,  <option value="classMidiOut.html">midiout</option>,  <option value="classMidiPlayer.html">midiplayer</option>,  <option value="classMidiStatus.html">midistatus</option>,  <option value="classMidiTrack.html">miditrack</option>,  <option value="classNoteArray.html">notearray</option>,  <option value="classSynthOut.html">synthout</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>