- This wiki is out of date, use the continuation of this wiki instead
Sound freq
From FenixWiki
(Difference between revisions)
Revision as of 01:29, 29 December 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (19:06, 3 April 2008) (edit) (undo) Sandman (Talk | contribs) m |
||
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, 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: | '''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: |
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 • |