Jump to content

API Sound.GetBits: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 18: Line 18:
====Calling in a calculation====
====Calling in a calculation====
* Declare a variable 'result' of type BYTE
* Declare a variable 'result' of type BYTE
* Add to a calculation icon: result = ::Sound.GetBits(sounds)
* Add to a calculation icon: <pre class="brush:[C]">result = ::Sound.GetBits(sounds)</pre>

Revision as of 15:35, 10 May 2013

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


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

No additional information

Examples

Calling in a calculation

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