1 .. -*- coding: utf-8; mode: rst -*-
18 .. cpp:function:: int ioctl(int fd, int request = AUDIO_PAUSE)
33 - File descriptor returned by a previous call to open().
39 - Equals AUDIO_PAUSE for this command.
45 This ioctl call suspends the audio stream being played. Decoding and
46 playing are paused. It is then possible to restart again decoding and
47 playing process of the audio stream using AUDIO_CONTINUE command.
53 On success 0 is returned, on error -1 and the ``errno`` variable is set
54 appropriately. The generic error codes are described at the
55 :ref:`Generic Error Codes <gen-errors>` chapter.