beautypg.com

BrightSign Object Reference Manual (FW 5.1) User Manual

Page 118

background image

110

Example:

"pid=7680, codec=H264, width=1280, height=720, aspect=1.78, colordepth=8;;"

SetPreferredAudio(description As String) As Boolean
Each template in the passed

description string can contain the following patterns:

pid=[integer]: The packer identifier (PID) of the audio stream you wish to play

codec=[audio_codec]: The preferred audio codec, which can be any of the following:

o MPEG
o MP3
o AAC
o AAC-PLUS
o AC3
o AC3-PLUS
o DTS
o PCM
o FLAC
o Vorbis

channels=[integer]: The preferred number of audio channels (from 1 to 8)

freq=[frequency]: The preferred sample frequency of the audio track, which can be any of the following:

o 32000
o 44100
o 4800

lang=[language]: A code that determines the preferred language of the audio track (e.g. eng, spa). The
language codes are specified in the ISO 639-2 standard.

type=[audio_type]: The preferred audio type, which can be one of the following:

o Main audio