func_audio_createstaticaudiosample.rst 628 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_audio_createstaticaudiosample:
  2. =======================
  3. CreateStaticAudioSample
  4. =======================
  5. CreateStaticAudioSample -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. CreateStaticAudioSample:TAudioSample( samples:Byte Ptr,length,hertz,format )
  10. Create an audio sample with existing data
  11. The memory referenced by a static audio sample is not released when the audio sample is
  12. deleted.
  13. See #CreateAudioSample for possile @format values.
  14. Parameters
  15. ==========
  16. Return Values
  17. =============
  18. An audio sample object that references an existing block of memory
  19. Examples
  20. ========
  21. See Also
  22. ========