audio-set-av-sync.rst 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _AUDIO_SET_AV_SYNC:
  3. =================
  4. AUDIO_SET_AV_SYNC
  5. =================
  6. Name
  7. ----
  8. AUDIO_SET_AV_SYNC
  9. .. attention:: This ioctl is deprecated
  10. Synopsis
  11. --------
  12. .. c:function:: int ioctl(int fd, AUDIO_SET_AV_SYNC, boolean state)
  13. :name: AUDIO_SET_AV_SYNC
  14. Arguments
  15. ---------
  16. .. flat-table::
  17. :header-rows: 0
  18. :stub-columns: 0
  19. -
  20. - int fd
  21. - File descriptor returned by a previous call to open().
  22. -
  23. - boolean state
  24. - Tells the Digital TV subsystem if A/V synchronization shall be ON or OFF.
  25. TRUE: AV-sync ON
  26. FALSE: AV-sync OFF
  27. Description
  28. -----------
  29. This ioctl call asks the Audio Device to turn ON or OFF A/V
  30. synchronization.
  31. Return Value
  32. ------------
  33. On success 0 is returned, on error -1 and the ``errno`` variable is set
  34. appropriately. The generic error codes are described at the
  35. :ref:`Generic Error Codes <gen-errors>` chapter.