mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 01:10:23 +00:00
6912727753
Help file snapshot as of 07/31/2022.
28 lines
615 B
Plaintext
28 lines
615 B
Plaintext
{{QBDLDATE:07-31-2022}}
|
|
{{QBDLTIME:23:40:26}}
|
|
{{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}}
|
|
|
|
[[Category:Latest]]
|