1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/_SNDCOPY__1111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

25 lines
887 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:10:52}}
{{DISPLAYTITLE:_SNDCOPY}}
The [[_SNDCOPY]] function copies a sound to a new handle so that two or more of the same sound can be played at once. The passed handle parameter is from the [[_SNDOPEN]] function.
{{PageSyntax}}
: {{Parameter|copyHandle&}} = [[_SNDCOPY]]({{Parameter|handle&}})
{{PageDescription}}
* Returns a new handle to the a copy in memory of the sound data referred to by the source handle.
* No changes to the source handle (such as a volume change) are inherited.
* The sound data referred to by the handle and its copies are not freed until all of them are closed.
* In versions '''prior to build 20170811/60''', the sound identified by {{Parameter|handle&}} must have been opened using the [[_SNDOPEN|"SYNC" capability]] to use this function.
{{PageSeeAlso}}
* [[_SNDPLAYCOPY]]
* [[_SNDOPEN]]
{{PageNavigation}}