- This wiki is out of date, use the continuation of this wiki instead
Sound freq
From FenixWiki
(Difference between revisions)
Revision as of 23:56, 28 December 2007 (edit) Sandman (Talk | contribs) (New page: category:variables category:predefined category:global variables '''Up to Global Variables''' ---- == Definition == '''INT''' sound_mode '''Sound_freq...) ← Previous diff |
Current revision (19:06, 3 April 2008) (edit) (undo) Sandman (Talk | contribs) m |
||
(3 intermediate revisions not shown.) | |||
Line 9: | Line 9: | ||
== Definition == | == Definition == | ||
- | '''INT''' | + | '''INT''' sound_freq = 22050 |
- | '''Sound_freq''' is a [[global variable]], holding the set sound frequency, which is set when sound is used for the first time. The higher the frequency, the higher the quality is. Accepted frequencies are: | + | '''Sound_freq''' is a [[global variable]], holding the set sound frequency, which is set when sound is used for the first time, meaning altering the value of this variable will have no effect after sound has been initialized. The higher the frequency, the higher the quality is. Accepted frequencies are: |
* 44100: high quality (recommended) | * 44100: high quality (recommended) | ||
* 22050: medium quality (default) | * 22050: medium quality (default) | ||
Line 17: | Line 17: | ||
== See also == | == See also == | ||
- | * [[ | + | * [[sound_mode]] |
- | * [[ | + | * [[sound_channels]] |
{{Globals}} | {{Globals}} |
Current revision
[edit] Definition
INT sound_freq = 22050
Sound_freq is a global variable, holding the set sound frequency, which is set when sound is used for the first time, meaning altering the value of this variable will have no effect after sound has been initialized. The higher the frequency, the higher the quality is. Accepted frequencies are:
- 44100: high quality (recommended)
- 22050: medium quality (default)
- 11025: low quality (not recommended)
[edit] See also
Global variables | |
• Argc • Argv • Cdinfo • Dump_type • Fading • Fileinfo • Fps • Frame_time • Full_screen • Graph_mode • Mouse • Os_id • Restore_type • Scale_mode • Scroll • Sound_channels • Sound_freq • Sound_mode • Text_flags • Text_z • Timer • |