Commit | Line | Data |
162a0989 |
1 | <div class="pod"> |
2 | <!-- INDEX START --> |
3 | <h3 id="TOP">Index</h3> |
4 | |
5 | <ul><li><a href="#NAME">NAME</a></li> |
6 | <li><a href="#DESCRIPTION">DESCRIPTION</a></li> |
7 | <li><a href="#AUTHOR">AUTHOR</a></li> |
8 | <li><a href="#SEE_ALSO">SEE ALSO</a> |
9 | </li> |
10 | </ul><hr /> |
11 | <!-- INDEX END --> |
12 | |
13 | <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p> |
14 | <div id="NAME_CONTENT"> |
15 | <p>SDL::Music - a perl extension</p> |
16 | |
17 | </div> |
18 | <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p> |
19 | <div id="DESCRIPTION_CONTENT"> |
46beffd8 |
20 | <p><a href="/SDL-Music.html">SDL::Music</a> is used to load music files for use with <a href="/SDL-Mixer.html">SDL::Mixer</a>. |
162a0989 |
21 | To load a music file one simply creates a new object passing the filename |
22 | to the constructor:</p> |
23 | <pre> my $music = new SDL::Music 'my_song.ogg'; |
24 | |
25 | |
26 | |
27 | |
28 | </pre> |
29 | |
30 | </div> |
31 | <h1 id="AUTHOR">AUTHOR</h1><p><a href="#TOP" class="toplink">Top</a></p> |
32 | <div id="AUTHOR_CONTENT"> |
33 | <p>David J. Goehrig</p> |
34 | |
35 | </div> |
36 | <h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p> |
37 | <div id="SEE_ALSO_CONTENT"> |
46beffd8 |
38 | <p><a href="http://search.cpan.org/perldoc?perl">perl</a> <a href="/SDL-Mixer.html">SDL::Mixer</a></p> |
162a0989 |
39 | |
40 | </div> |
41 | </div> |