Roaudiooutput – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 48

Advertising
background image

40

roAudioOutput

This object allows individual control of audio outputs on the player.

Object Creation: The roAudioOutput object requires a single output parameter upon creation.

CreateObject("roAudioOutput", output As String)

The audio output parameter can take the following strings:

Analog

SPDIF

HDMI

USB

NONE

These strings can be extended if future BrightSign players have multiple channels of the same type of audio output. For
example,

Analog could be extended to Analog:1 or Analog:0-2.


You can create any number of roAudioOutput objects. There can be multiple instances of this object that represent the
same audio output, but in these cases one object will override another.

Interfaces: ifAudioOutput

The ifAudioOuput interface provides the following:

SetVolume(a As Integer) As Boolean: Sets the volume of the specified output as a percentage
represented by an integer between 0 and 100.

SetMute(a As Boolean) As Boolean: Mutes the specified output if True. This method is set to False by
default.

Advertising