audioGetVolume (Function) |
Top Previous Next |
Retrieves the volume level used by an audio node. The volume level does not refer to an absolute level and may vary between different device types.
Input: node: SINT Default 0 The audio node to get the volume for. Available nodes:
Output: volume: SINT The volume of the node, where 0 is the lowest and 100 is the highest volume.
mute: BOOL Tells if the node is muted or not.
Returns: INT
Declaration: FUNCTION audioGetVolume : INT;
Example: INCLUDE rtcu.inc END_VAR; |