Brightsign Object Reference Manual (FW 5.1) Manuel d'utilisateur Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 341
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 51
44
SetChannelVolumesAux(channel_mask As Integer, volume As Integer) As Boolean
SetAudioStreamAux(stream_index As Integer) As Boolean
A call to video.Stop is needed before changing the audio output when a video file is playing or has played.
Example: This example shows how to use the SetPcmAudioOutputs and SetCompressedAudioOutputs methods in
conjunction with roAudioOutput. The video player is configured to output decoded audio to the analog output or
compressed audio to the HDMI and SPDIF outputs.
ao1=CreateObject("roAudioOutput", "Analog")
ao2=CreateObject("roAudioOutput", "HDMI")
ao3=CreateObject("roAudioOutput", "SPDIF")
v1=CreateObject("roVideoPlayer")
v1.SetPcmAudioOutputs(ao1)
--or--
ar = CreateObject("roArray", 2, true)
ar[0] = ao2
ar[1] = ao3
v1.SetCompressedAudioOutputs(ar)
Note: In most cases, rerouting audio outputs during audio/video playback will cause playback to stop. The system
software will still be responsive, so you can use commands to exit playback during or following an audio output
modification.
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 340 341

Commentaires sur ces manuels

Pas de commentaire