OSDN Git Service

SDL_atomic_t サンプルコードを修正 https://wiki.libsdl.org/SDL_atomic_t?action=diff&rev1=3&rev2=4
[sdl2referencejp/sdl2referencejp.git] / Mix_GetMusicDecoder.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html lang="ja-JP">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <meta name="keywords" content="SDL_mixer">\r
7 <link rel="top" href="index.html" title="\83z\81[\83\80">\r
8 <link rel="parent" href="SDL_mixer-functions-music.html" title="1\82Â\8fã">\r
9 <title>Mix_GetMusicDecoder</title>\r
10 </head>\r
11 <body>\r
12 <a href="index.html#SDL_mixer">\96Ú\8e\9f</a> - <a href="SDL_mixer-functions.html">4.\8aÖ\90\94</a> - <a href="SDL_mixer-functions-music.html">4.5\89¹\8ay</a> - Mix_GetMusicDecoder\r
13 <hr>\r
14 <h1>Mix_GetMusicDecoder</h1>\r
15 <p>\r
16 <code>const char *Mix_GetMusicDecoder(int index)</code>\r
17 </p>\r
18 <p>\r
19 <dl>\r
20 <dt>index</dt><dd>\8al\93¾\82·\82é\89¹\8ay\83f\83R\81[\83_\81[\82Ì\94Ô\8d\86\94Í\88Í\82Í0\81`<a href="Mix_GetNumMusicDecoders.html">Mix_GetNumMusicDecoders()</a>-1</dd>\r
21 </dl>\r
22 </p>\r
23 <p>\r
24 \8ew\92è\82Ì\94Ô\8d\86\82Ì\89¹\8ay\83f\83R\81[\83_\81[\82Ì\96¼\91O\82ð\93¾\82é.\r
25 \97\98\97p\89Â\94\\82È\89¹\8ay\83f\83R\81[\83_\81[\82Ì\90\94\82ð<a href="Mix_GetNumMusicDecoders.html">Mix_GetNumMusicDecoders</a>\82Å\93¾\82é\95K\97v\82ª\82 \82é.\r
26 </p>\r
27 <p>\r
28 \96ß\82è\92l: \8ew\92è\82Ì\94Ô\8d\86\82Ì\89¹\8ay\83f\83R\81[\83_\81[\82Ì\96¼\91O.\r
29 \82±\82Ì\95\8e\9a\97ñ\82ÍSDL_mixer\83\89\83C\83u\83\89\83\8a\82ª\8aÇ\97\9d\82µ\82Ä\82¢\82é\82Ì\82Å, \95Ï\8dX\82â\89ð\95ú\82ð\82µ\82Ä\82Í\82È\82ç\82È\82¢.\r
30 \82±\82ê\82Í<a href="Mix_CloseAudio.html">Mix_CloseAudio</a>\82ð\8cÄ\82Ô\82Ü\82Å\97L\8cø\82Å\82 \82é.\r
31 </p>\r
32 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
33 <code>\r
34 <pre>\r
35 // \97\98\97p\89Â\94\\82È\89¹\8ay\83f\83R\81[\83_\81[\82ð\95\\8e¦\82·\82é\r
36 int i,max=Mix_GetNumMusicDecoders();\r
37 for(i=0; i&lt;max; ++i)\r
38     printf("\89¹\8ay\83f\83R\81[\83_\81[ %d: %s\n",i,Mix_GetMusicDecoder(i));\r
39 </pre>\r
40 </code>\r
41 <h2>\8eQ\8fÆ</h2>\r
42 <a href="Mix_GetNumMusicDecoders.html">Mix_GetNumMusicDecoders</a>,\r
43 <a href="Mix_GetChunkDecoder.html">Mix_GetChunkDecoder</a>,\r
44 <a href="Mix_LoadWAV.html">Mix_LoadWAV</a>\r
45 <h2>\8c´\95\82Ö\82Ì\83\8a\83\93\83N</h2>\r
46 <a href="http://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer_54.html#SEC54">4.5.2 Mix_GetMusicDecoder</a>\r
47 <hr>\r
48 </body>\r
49 </html>\r