audio-stop.rst 732 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _AUDIO_STOP:
  3. ==========
  4. AUDIO_STOP
  5. ==========
  6. Name
  7. ----
  8. AUDIO_STOP
  9. .. attention:: This ioctl is deprecated
  10. Synopsis
  11. --------
  12. .. c:function:: int ioctl(int fd, AUDIO_STOP)
  13. :name: AUDIO_STOP
  14. Arguments
  15. ---------
  16. .. flat-table::
  17. :header-rows: 0
  18. :stub-columns: 0
  19. - .. row 1
  20. - int fd
  21. - File descriptor returned by a previous call to open().
  22. Description
  23. -----------
  24. This ioctl call asks the Audio Device to stop playing the current
  25. stream.
  26. Return Value
  27. ------------
  28. On success 0 is returned, on error -1 and the ``errno`` variable is set
  29. appropriately. The generic error codes are described at the
  30. :ref:`Generic Error Codes <gen-errors>` chapter.