This wiki is out of date, use the continuation of this wiki instead

Sound freq

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 23:56, 28 December 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (19:06, 3 April 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(2 intermediate revisions not shown.)
Line 9: Line 9:
== Definition == == Definition ==
-'''INT''' sound_mode+'''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 18: Line 18:
== See also == == See also ==
* [[sound_mode]] * [[sound_mode]]
 +* [[sound_channels]]
{{Globals}} {{Globals}}

Current revision

Up to Global Variables



[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
ArgcArgvCdinfoDump_typeFadingFileinfoFpsFrame_timeFull_screenGraph_modeMouseOs_idRestore_typeScale_modeScrollSound_channelsSound_freqSound_modeText_flagsText_zTimer
Personal tools