Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

ON THIS PAGE

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 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.

ifAudioOutput

SetVolume(a As Integer) As Boolean

Sets the volume of the specified output as a percentage represented by an integer between 0 and 100.

SetTone(treble As Integer, bass As Integer) As Boolean

Sets the treble and bass of the specified output. The treble and bass integers can range from -1000 to 1000, with 0 indicating no modification to the audio signal. Each increment represents a change of 0.01db.

SetMute(a As Boolean) As Boolean

Mutes the specified output if True. This method is set to False by default.

GetOutput() As String

Returns the string with which the roAudioOutput object was created.

SetAudioDelay(delay_in_milliseconds As Integer) As Boolean

Delays the audio for a specific audio ouput by lagging decoded samples before they reach that output. Delays are limited to 150ms or less. Currently, the system software only supports positive delays; therefore, if you need to set the audio ahead of the video, you will need to use SetVideoDelay() instead.

 

The SetVolume() and SetMute() methods work in conjunction with the volume and mute functionality offered by roAudioPlayer. The roAudioPlayer volume settings affect the audio decoder volume. The audio stream is then sent to the assigned outputs, which have an additional level of volume control enabled by roAudioOutput.

The roAudioOutput object affects the absolute volume (as well as mute settings) for an audio output. If two players are streaming to the same output, both will be affected by any settings implemented through roAudioOutput.

Note

To control which audio outputs connect to audio player outputs generated by roAudioOutput, use the SetPcmAudioOutputs() and SetCompressedAudioOutputs() methods, which can be used for roVideoPlayer and roAudioPlayer. See the roAudioPlayer entry for further explanation of these methods.

  • No labels