API Sound.GetBits

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Gets the number of bits per sample for the sound

Class hierarchy

Sound

GetBits

Parameters

HANDLE Sounds

The handle of the sound object to read


Return value

BYTE

Returns the number of bits per sample for the sound


Detailed description

The bits per sample is specified in creation through Sound.Create.


Examples

Calling in a calculation

  • Declare a variable 'result' of type BYTE
  • Add to a calculation icon:
    result = ::Sound.GetBits(sounds)

No additional examples