Sound freq

From Bennu Wiki
Jump to: navigation, search

Up to Global Variables



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)

See also


Global variables
ArgcArgvAsciiCdinfoDump_typeExit_statusFadingFileinfoFocus_statusFpsFrame_timeFull_screenGraph_modeM7MouseMouse_statusOs_idRegex_regRestore_typeScale_modeScale_resolutionScale_resolution_aspectratioScale_resolution_orientationScan_codeScrollShift_statusSound_channelsSound_freqSound_modeText_flagsText_zTimerWindow_status