_SNDRATE

From QB64 Phoenix Edition Wiki
Revision as of 20:39, 19 April 2022 by SMcNeill (talk | contribs) (Created page with "{{DISPLAYTITLE:_SNDRATE}} The _SNDRATE function returns the sample rate frequency per second of the current computer's sound card. {{PageSyntax}} : {{Parameter|sampleRate&}} = _SNDRATE {{PageDescription}} * The sample rate frequency per second value returned can be any LONG value. Common values are 22050 or 44100. * '''The sound card sample rate is determined by the sound card and it cannot be changed.''' {{PageExamples}} * See the example in [[_SNDRAW]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _SNDRATE function returns the sample rate frequency per second of the current computer's sound card.


Syntax

sampleRate& = _SNDRATE


Description

  • The sample rate frequency per second value returned can be any LONG value. Common values are 22050 or 44100.
  • The sound card sample rate is determined by the sound card and it cannot be changed.


Examples


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link