mirror of
https://github.com/rvtr/TwlIPL_commit-99.git
synced 2025-10-31 06:21:11 -04:00
70 lines
2.2 KiB
HTML
Executable File
70 lines
2.2 KiB
HTML
Executable File
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
|
||
<head>
|
||
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
||
<title>NNS_SndStrmSetChannelPan</title>
|
||
<link rel="stylesheet" href="../css/nitro.css" type="text/css">
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||
</head>
|
||
<body>
|
||
<div class="refentry" lang="ja"><a name="IDAKKWT"></a><div class="titlepage">
|
||
<div></div>
|
||
<div></div>
|
||
</div>
|
||
<h1>NNS_SndStrmSetChannelPan</h1>
|
||
<h2>構文</h2>
|
||
<dl>
|
||
<dd><pre class="funcsynopsisinfo"><code>#include <nnsys/snd.h></code></pre></dd>
|
||
<dd><pre class="funcprototype"><code class="funcprototype">void NNS_SndStrmSetChannelPan(
|
||
NNSSndStrm* <var>stream</var>,
|
||
int <var>chNo</var>,
|
||
int <var>pan</var> );</code><br></pre></dd>
|
||
</dl>
|
||
<div class="refsection" lang="ja"><a name="IDA4LWT"></a>
|
||
<h2>引数</h2>
|
||
|
||
<div class="variablelist">
|
||
<table border="0">
|
||
<col align="left" valign="top">
|
||
<tbody>
|
||
<tr>
|
||
<td><em><strong><code>stream</code></strong></em></td>
|
||
<td>ストリーム構造体のポインタです。</td>
|
||
</tr>
|
||
<tr>
|
||
<td><em><strong><code>chNo</code></strong></em></td>
|
||
<td>チャンネル番号です。</td>
|
||
</tr>
|
||
<tr>
|
||
<td><em><strong><code>pan</code></strong></em></td>
|
||
<td>パン(定位)の値です。値の範囲は、0(左)~ 64(中央)~ 127(右) です。</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="refsection" lang="ja"><a name="IDA1MWT"></a>
|
||
<h2>返り値</h2>
|
||
|
||
<p>なし。</p>
|
||
</div>
|
||
<div class="refsection" lang="ja"><a name="IDACNWT"></a>
|
||
<h2>説明</h2>
|
||
<p>
|
||
ストリームのチャンネルパンを変更します。デフォルト値は、64(中央)です。
|
||
</p>
|
||
<p>
|
||
チャンネル番号<em><strong><code>chNo</code></strong></em>は、ストリーム中でのチャンネル番号です。
|
||
NITROサウンド回路に搭載されているチャンネルの番号とは、直接関係ありません。
|
||
例えば、<tt class="function"><a href="NNS_SndStrmAllocChannel.html">NNS_SndStrmAllocChannel</a></tt>関数で、
|
||
2チャンネル確保した場合、1つ目のチャンネルがチャンネル番号0、2つ目のチャンネルがチャンネル番号1となります。
|
||
</p>
|
||
</div>
|
||
<h2>参照</h2>
|
||
<p><a href="NNS_SndStrmAllocChannel.html">NNS_SndStrmAllocChannel</a></p>
|
||
<h2>履歴</h2>
|
||
<p>2004/08/10 初版<br></p>
|
||
</div>
|
||
</body>
|
||
</html>
|