TwlIPL_commit-99/add-ins/TwlSystem/man/ja_JP/snd/NNS_SndArcStrmSetChannelVolume.html

75 lines
2.5 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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_SndArcStrmSetChannelVolume</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_SndArcStrmSetChannelVolume</h1>
<h2>構文</h2>
<dl>
<dd><pre class="funcsynopsisinfo"><code>#include &lt;nnsys/snd.h&gt;</code></pre></dd>
<dd><pre class="funcprototype"><code class="funcprototype">void NNS_SndArcStrmSetChannelVolume(
NNSSndStrmHandle* <var>handle</var>,
int <var>chNo</var>,
int <var>volume</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>handle</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>volume</code></strong></em></td>
<td>ボリュームの値です。値の範囲は、0127です。</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>
ストリームハンドル<em><strong><code>handle</code></strong></em>に結びつけられたストリームのチャンネルボリュームを変更します。
ストリームハンドルが無効の場合は、何もしません。
</p>
<p>
チャンネル番号<em><strong><code>chNo</code></strong></em>は、ストリームデータ中でのチャンネル番号です。
NITROサウンド回路に搭載されているチャンネルの番号とは、直接関係ありません。
例えば、ステレオストリームデータの場合、左チャンネルがチャンネル番号0、右チャンネルがチャンネル番号1となります。
</p>
<p>
ボリュームのデフォルト値は、127です。
このボリューム値は、<tt class="function"><a href="NNS_SndArcStrmMoveVolume.html">NNS_SndArcStrmMoveVolume</a></tt>関数の値とは、
独立して効果を発揮し、互いに重ね合わされます。
</p>
</div>
<h2>参照</h2>
<p><a href="NNS_SndArcStrmMoveVolume.html">NNS_SndArcStrmMoveVolume</a></p>
<h2>履歴</h2>
<p>2004/08/10 初版<br></p>
</div>
</body>
</html>