Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 52

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag