File: cs_51.html

package info (click to toggle)
crystalspace 0.94-20020412-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 62,276 kB
  • ctags: 52,843
  • sloc: cpp: 274,783; ansic: 6,608; perl: 6,276; objc: 3,952; asm: 2,942; python: 2,354; php: 542; pascal: 530; sh: 430; makefile: 370; awk: 193
file content (113 lines) | stat: -rw-r--r-- 3,881 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!-- 
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
 
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: Config Sound</TITLE>

<META NAME="description" CONTENT="Crystal Space: Config Sound">
<META NAME="keywords" CONTENT="Crystal Space: Config Sound">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">

</HEAD>

<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">

<A NAME="SEC129"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_50.html#SEC126"> &lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_52.html#SEC133"> &gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_46.html#SEC120"> &lt;&lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_47.html#SEC121"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_53.html#SEC134"> &gt;&gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H3> 3.2.4 Sound Configuration </H3>
<!--docid::SEC129::-->
<P>

The following options can be used to configure the sound modules.
The default values are stored in `<TT>CS/data/config/sound.cfg</TT>'.
</P><P>

<A NAME="SEC130"></A>
<H4> General Sound Configuration </H4>
<!--docid::SEC130::-->
<P>

These options apply to all sound renderers:
</P><P>

<DL COMPACT>
<DT><CODE>Sound.Volume = [0..1]</CODE>
<DD>Set the global volume. A value of 0 means silence, 1 means as loud as
possible. Default is 1.
</DL>
<P>

<A NAME="SEC131"></A>
<H4> Software Sound Configuration </H4>
<!--docid::SEC131::-->
<P>

These options only apply to the software sound renderer:
</P><P>

<DL COMPACT>
<DT><CODE>Sound.Software.Frequency = &#60;frequency&#62;</CODE>
<DD>This sets the output frequency. Possible values depend on your system and
sound card, but divisors of 44100 (e.g. 22050 or 11025) usually work.
Default is 44100 (optimal).
<P>

<DT><CODE>Sound.Software.16Bits = &#60;yes/no&#62;</CODE>
<DD>Enables 16 bit sound output. Default is yes.
<P>

<DT><CODE>Sound.Software.Stereo = &#60;yes/no&#62;</CODE>
<DD>Enables stereo sound output. Default is yes.
</DL>
<P>

<A NAME="SEC132"></A>
<H4> Wave-Out Configuration </H4>
<!--docid::SEC132::-->
<P>

These options only apply to the Wave-Out sound driver under Windows:
</P><P>

<DL COMPACT>
<DT><CODE>Sound.WaveOut.Refresh = &#60;rate&#62;</CODE>
<DD>Sets the refresh rate of the sound output as a per-second rate. The lower
this rate, the more time passes between your application starting to play a
sound and the sound actually being audible. Because the Wave-Out driver uses
a triple buffering system, this delay is 2 to 3 seconds divided by the
refresh rate. So you should set a rate of at least 10 to prevent serious
delays. Default is 5.
</DL>
<A NAME="Config Console"></A>
<HR SIZE=1>
<BR>  
<FONT SIZE="-1">
This document was generated

using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>

</BODY>
</HTML>