TwlIPL_commit-99/add-ins/TwlSystem/man/ja_JP/snd/NNS_SndStrmSetChannelVolume.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_SndStrmSetChannelVolume</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_SndStrmSetChannelVolume</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_SndStrmSetChannelVolume(
NNSSndStrm* <var>stream</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>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>volume</code></strong></em></td>
<td>ボリュームの値です。単位は 0.1dBで、0dB の時最大になります。</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>
ストリームのチャンネルボリュームを変更します。
</p>
<p>
チャンネル番号<em><strong><code>chNo</code></strong></em>は、ストリーム中でのチャンネル番号です。
NITROサウンド回路に搭載されているチャンネルの番号とは、直接関係ありません。
例えば、<tt class="function"><a href="NNS_SndStrmAllocChannel.html">NNS_SndStrmAllocChannel</a></tt>関数で、
チャンネル確保した場合、つ目のチャンネルがチャンネル番号0、つ目のチャンネルがチャンネル番号1となります。
</p>
<p>
ボリュームのデフォルト値は、0dBです。
このボリューム値は、<tt class="function"><a href="NNS_SndStrmSetVolume.html">NNS_SndStrmSetVolume</a></tt>関数の値とは、
独立して効果を発揮し、互いに重ね合わされます。
</p>
</div>
<h2>参照</h2>
<p><a href="NNS_SndStrmAllocChannel.html">NNS_SndStrmAllocChannel</a>, <a href="NNS_SndStrmSetVolume.html">NNS_SndStrmSetVolume</a></p>
<h2>履歴</h2>
<p>2004/08/10 初版<br></p>
</div>
</body>
</html>