OSDN Git Service

SDL_CreateThread サンプルコードを修正 https://wiki.libsdl.org/SDL_CreateThread?action=diff...
[sdl2referencejp/sdl2referencejp.git] / Mix_SetPanning.html
index dc6395b..4eadf35 100644 (file)
 <p>\r
 \96ß\82è\92l: \83`\83\83\83l\83\8b\82ª\95s\90³, <a href="Mix_RegisterEffect.html">Mix_RegisterEffect</a>\82É\8e¸\94s\82È\82Ç\82Ì\82Æ\82«0(\8bU)\r
 </p>\r
+<h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
+<code>\r
+<pre>\r
+// \83`\83\83\83l\83\8b1\82ð\8d\94¼\95ª\83p\83\93\82·\82é\r
+if(!Mix_SetPanning(1, 255, 127)) {\r
+    printf("Mix_SetPanning: %s\n", Mix_GetError());\r
+    // \83p\83\93\82ª\82È\82¢?\r
+}\r
+</pre>\r
+</code>\r
 <h2>\8eQ\8fÆ</h2>\r
 <a href="Mix_SetPosition.html">Mix_SetPosition</a>,\r
 <a href="Mix_UnregisterAllEffects.html">Mix_UnregisterAllEffects</a>\r