blob: c7310dffbff2f9b7cfb70e3e052e9ceeb8755633 [file] [log] [blame]
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -03001.. -*- coding: utf-8; mode: rst -*-
2
3.. _AUDIO_PAUSE:
4
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -03005===========
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -03006AUDIO_PAUSE
7===========
8
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -03009Name
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030010----
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030011
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030012AUDIO_PAUSE
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030013
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030014.. attention:: This ioctl is deprecated
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030015
16Synopsis
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030017--------
18
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030019.. c:function:: int ioctl(int fd, AUDIO_PAUSE)
20 :name: AUDIO_PAUSE
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030021
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030022Arguments
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030023---------
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030024
25.. flat-table::
26 :header-rows: 0
27 :stub-columns: 0
28
29
30 - .. row 1
31
32 - int fd
33
34 - File descriptor returned by a previous call to open().
35
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030036
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030037Description
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030038-----------
39
40This ioctl call suspends the audio stream being played. Decoding and
41playing are paused. It is then possible to restart again decoding and
42playing process of the audio stream using AUDIO_CONTINUE command.
43
44
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030045Return Value
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030046------------
47
48On success 0 is returned, on error -1 and the ``errno`` variable is set
49appropriately. The generic error codes are described at the
50:ref:`Generic Error Codes <gen-errors>` chapter.