1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00
qb64/internal/help/_SNDRATE.txt
2019-04-14 22:15:33 -03:00

24 lines
552 B
Plaintext

{{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]].
{{PageSeeAlso}}
* [[_SNDRAW]]
* [[_SNDRAWLEN]]
{{PageNavigation}}