1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 15:35:53 +00:00
QB64-PE/internal/help/_SNDCOPY.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

27 lines
820 B
Plaintext

The {{KW|_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 {{KW|_SNDOPEN}} function.
{{PageSyntax}}
:{{Parameter|copy_handle&amp;}} = {{KW|_SNDCOPY}} ({{Parameter|handle&amp;}})
{{PageDescription}}
*Opened sound files must have the &quot;SYNC&quot; capability to use this function. (Currently WAV, OGG, AIF, RIF and VOC)
*Returns a new handle to the same 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 is not freed until all of them are closed.
{{PageExamples}}
{{CodeStart}}
h2&amp; = {{Cl|_SNDCOPY}}(h&amp;)
{{CodeEnd}}
{{PageSeeAlso}}
*{{KW|_SNDPLAYCOPY}}
{{PageNavigation}}