Sophie

Sophie

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

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: MidiPlayer Class Reference (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>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">MidiPlayer Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="MidiPlayer" -->
<p>MIDI file player routines .  
 <a href="classMidiPlayer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="player_8h_source.html">player.h</a>&gt;</code></p>

<p><a href="classMidiPlayer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a0b9d60bbe2db4393567373c345d9a3e0">MidiPlayer</a> (<a class="el" href="classDeviceManager.html">DeviceManager</a> *midi_, <a class="el" href="structPlayerController.html">PlayerController</a> *pctl)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a316846c78aab40fee24490d423ce082d">~MidiPlayer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a149fe0c46adc94a95c4b80f595b6abf5">loadSong</a> (const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#afc0e954aac3975dc4b476630c734f474">removeSong</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#ab6508782a9b5a2d8ac4c4b0164ed1265">isSongLoaded</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structSpecialEvent.html">SpecialEvent</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a4f470b8b9146bba3981e09d616b2e9d0">specialEvents</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNoteArray.html">NoteArray</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a62072cb20debc90b1d730433fa36c16f">noteArray</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a3c291cfbf2f58c940707771ad62ba564">play</a> (bool calloutput=false, void output(void)=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#aa7780171a2e75ab6f1ae204d5e4f8d11">setParseSong</a> (bool b=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a52a76be4fedcb7a8f8c5f4cc04c5dec4">setGenerateBeats</a> (bool b=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMidiFileInfo.html">MidiFileInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a259265ec90a3e5b80010f5903b195bf4">information</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#a3750b3a9d334fcd15646bf1f8f55b8a9">setPos</a> (ulong gotomsec, class <a class="el" href="classMidiStatus.html">MidiStatus</a> *midistat)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiPlayer.html#ab9816aa4f62826f14c876c9b4ac9e18b">setTempoRatio</a> (double ratio)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>MIDI file player routines . </p>
<p>This class reads a MIDI file and play it using a <a class="el" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> object.</p>
<p>To use it, just call <a class="el" href="classMidiPlayer.html#a149fe0c46adc94a95c4b80f595b6abf5" title="Loads a Song, and parses it (it the parse wasn&#39;t disabled with setParseSong() ) .">loadSong()</a> with the filename you want to play, and then <a class="el" href="classMidiPlayer.html#a3c291cfbf2f58c940707771ad62ba564" title="Plays the song using the DeviceManager object supplied in the constructor.">play()</a>.</p>
<p>Please have a look at the note in the <a class="el" href="classMidiPlayer.html#a3c291cfbf2f58c940707771ad62ba564" title="Plays the song using the DeviceManager object supplied in the constructor.">play()</a> documentation.</p>
<p><a class="el" href="classMidiPlayer.html" title="MIDI file player routines .">MidiPlayer</a> will write information about the playing process on a PlayerController() structure that you must supply to the constructor</p>
<p>Alternatively, if everything you want is to play a midi file in a game or any other application that doesn't need to fine tune the midi playing, just use the kmidplay() function.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>KMidSimpleAPI</dd></dl>
<p>The MIDI file player engine </p>
<dl class="version"><dt><b>Version:</b></dt><dd>0.9.5 17/01/2000 </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Antonio Larrosa Jimenez &lt;<a href="mailto:larrosa@kde.org">larrosa@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="player_8h_source.html#l00260">260</a> of file <a class="el" href="player_8h_source.html">player.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0b9d60bbe2db4393567373c345d9a3e0"></a><!-- doxytag: member="MidiPlayer::MidiPlayer" ref="a0b9d60bbe2db4393567373c345d9a3e0" args="(DeviceManager *midi_, PlayerController *pctl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MidiPlayer::MidiPlayer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDeviceManager.html">DeviceManager</a> *&#160;</td>
          <td class="paramname"><em>midi_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structPlayerController.html">PlayerController</a> *&#160;</td>
          <td class="paramname"><em>pctl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor . </p>
<p>You must construct and pass a <a class="el" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> object and a <a class="el" href="structPlayerController.html" title="PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...">PlayerController</a> structure. None of them will be destroyed by this object, so you should do it after destroying the <a class="el" href="classMidiPlayer.html" title="MIDI file player routines .">MidiPlayer</a> object. </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00046">46</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a316846c78aab40fee24490d423ce082d"></a><!-- doxytag: member="MidiPlayer::~MidiPlayer" ref="a316846c78aab40fee24490d423ce082d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MidiPlayer::~MidiPlayer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00059">59</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a259265ec90a3e5b80010f5903b195bf4"></a><!-- doxytag: member="MidiPlayer::information" ref="a259265ec90a3e5b80010f5903b195bf4" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structMidiFileInfo.html">MidiFileInfo</a>* MidiPlayer::information </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns information about the current MIDI file. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classMidiPlayer.html#a149fe0c46adc94a95c4b80f595b6abf5" title="Loads a Song, and parses it (it the parse wasn&#39;t disabled with setParseSong() ) .">loadSong</a> </dd></dl>

<p>Definition at line <a class="el" href="player_8h_source.html#l00375">375</a> of file <a class="el" href="player_8h_source.html">player.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab6508782a9b5a2d8ac4c4b0164ed1265"></a><!-- doxytag: member="MidiPlayer::isSongLoaded" ref="ab6508782a9b5a2d8ac4c4b0164ed1265" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MidiPlayer::isSongLoaded </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if there's a song already loaded (with a previous call to <a class="el" href="classMidiPlayer.html#a149fe0c46adc94a95c4b80f595b6abf5" title="Loads a Song, and parses it (it the parse wasn&#39;t disabled with setParseSong() ) .">loadSong()</a> ) and false if not. </p>

<p>Definition at line <a class="el" href="player_8h_source.html#l00317">317</a> of file <a class="el" href="player_8h_source.html">player.h</a>.</p>

</div>
</div>
<a class="anchor" id="a149fe0c46adc94a95c4b80f595b6abf5"></a><!-- doxytag: member="MidiPlayer::loadSong" ref="a149fe0c46adc94a95c4b80f595b6abf5" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MidiPlayer::loadSong </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Loads a Song, and parses it (it the parse wasn't disabled with <a class="el" href="classMidiPlayer.html#aa7780171a2e75ab6f1ae204d5e4f8d11" title="Enables or disables the parsing of the song when loading it.">setParseSong()</a> ) . </p>
<p>It also generates the Beat events (see <a class="el" href="structSpecialEvent.html#acf342fb2a34e0b118a1376c41848b2db" title="Type of event.">SpecialEvent::type()</a> ) if you enabled this by using <a class="el" href="classMidiPlayer.html#a52a76be4fedcb7a8f8c5f4cc04c5dec4" title="Enables or disables the generation of beats event in a song when loading it.">setGenerateBeats()</a> . </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00089">89</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a62072cb20debc90b1d730433fa36c16f"></a><!-- doxytag: member="MidiPlayer::noteArray" ref="a62072cb20debc90b1d730433fa36c16f" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNoteArray.html">NoteArray</a>* MidiPlayer::noteArray </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns and array with the notes playen through the song . </p>
<p><a class="el" href="classMidiPlayer.html" title="MIDI file player routines .">MidiPlayer</a> must parse the song to get the notes, so be sure not to disable the parsing of the song.</p>
<p>Returns an array of notes, (just note on and note off events), in the form of a <a class="el" href="classNoteArray.html" title="Holds a resizeable array of note on/off and patch change events.">NoteArray</a> object </p>

<p>Definition at line <a class="el" href="player_8h_source.html#l00333">333</a> of file <a class="el" href="player_8h_source.html">player.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3c291cfbf2f58c940707771ad62ba564"></a><!-- doxytag: member="MidiPlayer::play" ref="a3c291cfbf2f58c940707771ad62ba564" args="(bool calloutput=false, void output(void)=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiPlayer::play </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>calloutput</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void &#160;</td>
          <td class="paramname"><em>output</em>void = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Plays the song using the <a class="el" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> object supplied in the constructor. </p>
<p>It should be already configured, as play doesn't change the volume, nor midi mapper, for example.</p>
<p>Note: Calling this function will block the execution of your application until the song finishes playing. The solution for this is simple, fork before calling it, and create the <a class="el" href="structPlayerController.html" title="PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...">PlayerController</a> object on shared memory.</p>
<p>As alternative, if everything you want is playing a midi file in a game or any other application that doesn't need to fine tune the midi playing, just use the KMidSimpleAPI::kMidPlay() function.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>KMidSimpleAPI::kMidInit </dd>
<dd>
KMidSimpleAPI::kMidPlay </dd>
<dd>
KMidSimpleAPI::kMidStop </dd>
<dd>
KMidSimpleAPI::kMidDestruct </dd></dl>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00531">531</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="afc0e954aac3975dc4b476630c734f474"></a><!-- doxytag: member="MidiPlayer::removeSong" ref="afc0e954aac3975dc4b476630c734f474" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiPlayer::removeSong </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unloads the current song, so that every internal variable is empty and clean for further usage. </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00065">65</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a52a76be4fedcb7a8f8c5f4cc04c5dec4"></a><!-- doxytag: member="MidiPlayer::setGenerateBeats" ref="a52a76be4fedcb7a8f8c5f4cc04c5dec4" args="(bool b=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiPlayer::setGenerateBeats </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables or disables the generation of beats event in a song when loading it. </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00932">932</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa7780171a2e75ab6f1ae204d5e4f8d11"></a><!-- doxytag: member="MidiPlayer::setParseSong" ref="aa7780171a2e75ab6f1ae204d5e4f8d11" args="(bool b=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiPlayer::setParseSong </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables or disables the parsing of the song when loading it. </p>
<p>This affects the SpecialEvents ( <a class="el" href="classMidiPlayer.html#a4f470b8b9146bba3981e09d616b2e9d0" title="Returns the linked list of SpecialEvents objects .">specialEvents()</a> ) and the <a class="el" href="classNoteArray.html" title="Holds a resizeable array of note on/off and patch change events.">NoteArray</a> ( <a class="el" href="classMidiPlayer.html#a62072cb20debc90b1d730433fa36c16f" title="Returns and array with the notes playen through the song .">noteArray()</a> ). </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00927">927</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a3750b3a9d334fcd15646bf1f8f55b8a9"></a><!-- doxytag: member="MidiPlayer::setPos" ref="a3750b3a9d334fcd15646bf1f8f55b8a9" args="(ulong gotomsec, class MidiStatus *midistat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiPlayer::setPos </td>
          <td>(</td>
          <td class="paramtype">ulong&#160;</td>
          <td class="paramname"><em>gotomsec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">class <a class="el" href="classMidiStatus.html">MidiStatus</a> *&#160;</td>
          <td class="paramname"><em>midistat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the position in a song. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">gotomsec</td><td>the number of milliseconds to go to . A subsequent call to <a class="el" href="classMidiPlayer.html#a3c291cfbf2f58c940707771ad62ba564" title="Plays the song using the DeviceManager object supplied in the constructor.">play()</a> will start playing the song from that moment, instead of the beginning. </td></tr>
    <tr><td class="paramname">midistat</td><td>a <a class="el" href="classMidiStatus.html" title="Stores the status of a MIDI device .">MidiStatus</a> object that will contain the status in which the MIDI device would be if it would have arrived to this situation by a normal playing of the song. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00795">795</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ab9816aa4f62826f14c876c9b4ac9e18b"></a><!-- doxytag: member="MidiPlayer::setTempoRatio" ref="ab9816aa4f62826f14c876c9b4ac9e18b" args="(double ratio)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiPlayer::setTempoRatio </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ratio</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the speed at which a song is played. </p>
<p>The song's tempo is multiplied by the specified ratio. </p>

<p>Definition at line <a class="el" href="player_8cc_source.html#l00937">937</a> of file <a class="el" href="player_8cc_source.html">player.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a4f470b8b9146bba3981e09d616b2e9d0"></a><!-- doxytag: member="MidiPlayer::specialEvents" ref="a4f470b8b9146bba3981e09d616b2e9d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structSpecialEvent.html">SpecialEvent</a>* MidiPlayer::specialEvents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the linked list of SpecialEvents objects . </p>
<p>For this to work, the parse should be enabled (the default), by using <a class="el" href="classMidiPlayer.html#aa7780171a2e75ab6f1ae204d5e4f8d11" title="Enables or disables the parsing of the song when loading it.">setParseSong()</a>. </p>

<p>Definition at line <a class="el" href="player_8h_source.html#l00323">323</a> of file <a class="el" href="player_8h_source.html">player.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="player_8h_source.html">player.h</a></li>
<li><a class="el" href="player_8cc_source.html">player.cc</a></li>
</ul>
</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>