Difference between revisions of "API Sound.GetBits"

From Flowcode Help
Jump to navigationJump to search
Line 23: Line 23:
  
 
==Detailed description==
 
==Detailed description==
The bits per sample is specified ion creation through [[API Sound.Create|Sound.Create]].
+
The bits per sample is specified in creation through [[API Sound.Create|Sound.Create]].
  
  

Revision as of 16:27, 7 August 2013


<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